AppVeyor: CI for applications using Poco

General discussion regarding the development of POCO for contributors.
zosrothko
Posts: 30
Joined: 08 Aug 2014, 20:29
Location: Lille, France
Contact:

AppVeyor: CI for applications using Poco

Postby zosrothko » 23 Nov 2015, 19:56

Hi

For anyone interested in CI with Appveyor, below the script for installing Poco-1.6.1 in appveyor.yml with POCO as an environment variable

install:
- mkdir msi
- appveyor DownloadFile https://github.com/pocoproject/distro/r ... .1.x86.msi -Filename msi\VS2013.Poco.1.6.1.x86.msi
- cmd /c start /wait msiexec /a msi\VS2013.Poco.1.6.1.x86.msi /quiet /qn /norestart TARGETDIR=%CD% /log install.log
- set POCO=%CD%\Poco\1.6.1


Each VS2013 project and upper version can use a property solution as below referencing the POCO variable:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" >
<Poco>$(POCO)</Poco>
</PropertyGroup>
<PropertyGroup Label="PropertySheets">
<IncludePath>$(Poco)\inc;$(IncludePath)</IncludePath>
<LibraryPath>$(SolutionDir)/$(Configuration);$(Poco)\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup />
<ItemGroup />
</Project>

Return to “Contributors”

Who is online

Users browsing this forum: No registered users and 2 guests

cron