]> git.jsancho.org Git - lugaru.git/blobdiff - .appveyor.yml
Friends fight with true enemies, before they attacked player but hurting enemies
[lugaru.git] / .appveyor.yml
index 520f40f3ba0616e0e1d0ae93b175c8c9ae0a9343..b1d4b8605a200f3e56ebba3d110c310392b0fd16 100644 (file)
@@ -1,25 +1,28 @@
 # This is pretty useless, but it sets the version of the build
 version: 0.0.0.build.{build}
 
+# Force configuration
+configuration: Debug
+
 # Use Visual Studio 2015 base image
 image: Visual Studio 2015
 
 # enforce the location, since we want predictable cmake things
 clone_folder: c:\projects\osslugaru\lugaru
 
-# Build for 32-bit and 64-bit targets
+# Build for 32-bit and 64-bit
 platform:
-  - x86
-  - x64
+  - Win32
+  - Win64
 
 # Prep work (CMake VS project generation)
 before_build:
   - cd c:\projects\osslugaru\lugaru
   - set PATH=C:\Program Files (x86)\MSBuild\14.0\BIN;%PATH%
-  - if %PLATFORM% == x86 cmake . -DLUGARU_INSTALL_PREFIX=/builds/osslugaru/lugaru/mingw64-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
-  - if %PLATFORM% == x64 cmake -G "Visual Studio 14 2015 Win64" . -DLUGARU_INSTALL_PREFIX=/builds/osslugaru/lugaru/mingw64-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
+  - if %PLATFORM% == Win32 cmake . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=C:\projects\osslugaru\lugaru\msvc32-build
+  - if %PLATFORM% == Win64 cmake . -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=C:\projects\osslugaru\lugaru\msvc64-build
 
 # Tell it what to build
 build:
-  project: lugaru.sln
-  parallel: true
+  project: lugaru.sln
+  parallel: true