2015-04-16 00:49:05 +08:00
|
|
|
version: {build}
|
2015-04-12 18:25:01 +08:00
|
|
|
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
|
|
|
clone_folder: c:\projects\jsoncpp
|
|
|
|
|
2015-04-12 18:41:29 +08:00
|
|
|
platform:
|
|
|
|
- Win32
|
|
|
|
- x64
|
|
|
|
|
2015-04-12 18:25:01 +08:00
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
# scripts to run before build
|
|
|
|
before_build:
|
|
|
|
- echo "Running cmake..."
|
|
|
|
- cd c:\projects\jsoncpp
|
2015-04-12 18:41:29 +08:00
|
|
|
- cmake --version
|
|
|
|
- if %PLATFORM% == Win32 cmake .
|
|
|
|
- if %PLATFORM% == x64 cmake -G "Visual Studio 12 2013 Win64" .
|
2015-04-12 18:25:01 +08:00
|
|
|
|
|
|
|
build:
|
|
|
|
project: jsoncpp.sln # path to Visual Studio solution or project
|