]> git.jsancho.org Git - lugaru.git/blob - .appveyor.yml
CI: Fix install prefix for appveyor cmake run
[lugaru.git] / .appveyor.yml
1 # This is pretty useless, but it sets the version of the build
2 version: 0.0.0.build.{build}
3
4 # Use Visual Studio 2015 base image
5 image: Visual Studio 2015
6
7 # enforce the location, since we want predictable cmake things
8 clone_folder: c:\projects\osslugaru\lugaru
9
10 # Build for 32-bit and 64-bit targets
11 platform:
12   - x86
13   - x64
14
15 # Prep work (CMake VS project generation)
16 before_build:
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
21
22 # Tell it what to build
23 build:
24   - project: lugaru.sln
25   - parallel: true