Fix build on Visual Studio 2010, 2012, MinGW32 and GCC 5

This commit is contained in:
Benoit Blanchon
2016-02-06 21:21:34 +01:00
parent 5f589d3836
commit 428dddf2cc
11 changed files with 106 additions and 105 deletions

16
appveyor.yml Normal file
View File

@@ -0,0 +1,16 @@
version: 5.1.0.{build}
environment:
matrix:
- CMAKE_GENERATOR: Visual Studio 14 2015
- CMAKE_GENERATOR: Visual Studio 12 2013
- CMAKE_GENERATOR: Visual Studio 11 2012
- CMAKE_GENERATOR: Visual Studio 10 2010
- CMAKE_GENERATOR: MinGW Makefiles
configuration: Debug
before_build:
- set PATH=C:\MinGW\bin;%PATH:C:\Program Files\Git\usr\bin;=% # Workaround for CMake not wanting sh.exe on PATH for MinGW
- cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "%CMAKE_GENERATOR%" .
build_script:
- cmake --build . --config %CONFIGURATION%
test_script:
- ctest -V .