1 # This is pretty useless, but it sets the version of the build
2 version: 0.0.0.build.{build}
7 # Use Visual Studio 2015 base image
8 image: Visual Studio 2015
10 # enforce the location, since we want predictable cmake things
11 clone_folder: c:\projects\osslugaru\lugaru
13 # Build for 32-bit and 64-bit
18 # Prep work (CMake VS project generation)
20 - cd c:\projects\osslugaru\lugaru
21 - set PATH=C:\Program Files (x86)\MSBuild\14.0\BIN;%PATH%
22 - if %PLATFORM% == Win32 cmake . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=C:\projects\osslugaru\lugaru\msvc32-build
23 - if %PLATFORM% == Win64 cmake . -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=C:\projects\osslugaru\lugaru\msvc64-build
25 # Tell it what to build