File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This is a comment.
2-
3- version : build.{build}
4-
5- os : Windows Server 2012 R2
6-
71clone_folder : c:\projects\jsoncpp
82
9- platform :
10- - Win32
11- - x64
12-
13- configuration :
14- - Debug
15- - Release
16-
17- # scripts to run before build
18- before_build :
19- - echo "Running cmake..."
20- - cd c:\projects\jsoncpp
21- - cmake --version
22- - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
23- - if %PLATFORM% == Win32 cmake .
24- - if %PLATFORM% == x64 cmake -G "Visual Studio 12 2013 Win64" .
25-
26- build :
27- project : jsoncpp.sln # path to Visual Studio solution or project
3+ environment :
4+ matrix :
5+ - CMAKE_GENERATOR : Visual Studio 12 2013
6+ - CMAKE_GENERATOR : Visual Studio 12 2013 Win64
7+ - CMAKE_GENERATOR : Visual Studio 14 2015
8+ - CMAKE_GENERATOR : Visual Studio 14 2015 Win64
9+
10+ build_script :
11+ - cmake --version
12+ - cd c:\projects\jsoncpp
13+ - cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX=%CD:\=/%/install -DCMAKE_BUILD_TYPE=Release .
14+ - cmake --build . --config Release --target install
2815
2916deploy :
3017 provider : GitHub
You can’t perform that action at this time.
0 commit comments