1 # This is pretty useless, but it sets the version of the build
2 version: 0.0.0.build.{build}
4 # Use Visual Studio 2015 base image
5 image: Visual Studio 2015
7 # enforce the location, since we want predictable cmake things
8 clone_folder: c:\projects\osslugaru\lugaru
10 # Build for 32-bit and 64-bit targets
15 # Prep work (CMake VS project generation)
17 - cd c:\projects\osslugaru\lugaru
18 - set PATH=C:\Program Files (x86)\MSBuild\14.0\BIN;%PATH%
19 - if %PLATFORM% == x86 cmake . -DLUGARU_INSTALL_PREFIX=C:\projects\osslugaru\lugaru\msvc32-build -DLUGARU_FORCE_INTERNAL_SDL=True -DLUGARU_FORCE_INTERNAL_GLU=True -DLUGARU_FORCE_INTERNAL_JPEG=True -DLUGARU_FORCE_INTERNAL_PNG=True -DLUGARU_FORCE_INTERNAL_VORBIS=True -DLUGARU_FORCE_INTERNAL_ZLIB=True -DLUGARU_FORCE_INTERNAL_OPENAL=True
20 - if %PLATFORM% == x64 cmake -G "Visual Studio 14 2015 Win64" . -DLUGARU_INSTALL_PREFIX=C:\projects\osslugaru\lugaru\msvc64-build -DLUGARU_FORCE_INTERNAL_SDL=True -DLUGARU_FORCE_INTERNAL_GLU=True -DLUGARU_FORCE_INTERNAL_JPEG=True -DLUGARU_FORCE_INTERNAL_PNG=True -DLUGARU_FORCE_INTERNAL_VORBIS=True -DLUGARU_FORCE_INTERNAL_ZLIB=True -DLUGARU_FORCE_INTERNAL_OPENAL=True
22 # Tell it what to build