appveyor configuration

This commit is contained in:
Daniel Sipka 2015-10-01 23:55:47 +02:00
parent 687cb7ae31
commit f7c2435f05

View File

@ -1,10 +1,14 @@
environment: environment:
matrix: matrix:
- GENERATOR: "Visual Studio 12 2013" #- GENERATOR: "Visual Studio 12 2013"
CONFIG: Release # CONFIG: Release
# BOOST_ROOT: "C:\Libraries\boost"
# BOOST_LIBRARYDIR: "c:\Libraries\boost\stage\lib"
- GENERATOR: "Visual Studio 14 2015" - GENERATOR: "Visual Studio 14 2015"
CONFIG: Release CONFIG: Release
BOOST_ROOT: "C:\Libraries\boost_1_59_0"
BOOST_LIBRARYDIR: "c:\Libraries\boost_1_59_0\stage\lib"
install: install:
- git submodule init - git submodule init
@ -13,7 +17,7 @@ install:
build_script: build_script:
- mkdir build - mkdir build
- cd build - cd build
- cmake "-G%GENERATOR%" -DBOOST_ROOT="C:\Libraries\boost" -DBOOST_LIBRARYDIR="c:\Libraries\boost\stage\lib" -DBoost_USE_STATIC_LIBS=ON -DWITH_UNIT_TESTS=ON .. - cmake "-G%GENERATOR%" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS=ON -DWITH_UNIT_TESTS=ON ..
- cmake --build . --config "%CONFIG%" - cmake --build . --config "%CONFIG%"
test_script: test_script: