25 lines
476 B
YAML
25 lines
476 B
YAML
version: 1.6.2.{build}
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
clone_folder: c:\projects\jsoncpp
|
|
|
|
platform:
|
|
- Win32
|
|
- x64
|
|
|
|
configuration:
|
|
- Debug
|
|
- Release
|
|
|
|
# scripts to run before build
|
|
before_build:
|
|
- echo "Running cmake..."
|
|
- cd c:\projects\jsoncpp
|
|
- cmake --version
|
|
- if %PLATFORM% == Win32 cmake .
|
|
- if %PLATFORM% == x64 cmake -G "Visual Studio 12 2013 Win64" .
|
|
|
|
build:
|
|
project: jsoncpp.sln # path to Visual Studio solution or project
|