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 target only
14 # Prep work (CMake VS project generation)
16 - cd c:\projects\osslugaru\lugaru
17 - set PATH=C:\Program Files (x86)\MSBuild\14.0\BIN;%PATH%
18 - 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 # Tell it what to build