Setup shared/static Travis and AppVeyor build

This commit is contained in:
Zbigniew Mandziejewicz 2015-10-05 05:52:05 +08:00
parent 97fd691183
commit cd373545b0
2 changed files with 9 additions and 4 deletions

View File

@ -1,9 +1,10 @@
language: cpp
os:
- linux
- osx
env:
- BUILD_SHARED_LIBS=ON
- BUILD_SHARED_LIBS=OFF
sudo: false
addons:
apt:
@ -12,5 +13,5 @@ addons:
packages:
- cmake
script:
- cmake .
- cmake -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} .
- cmake --build .

View File

@ -1,3 +1,7 @@
environment:
matrix:
- BUILD_SHARED_LIBS: ON
- BUILD_SHARED_LIBS: OFF
build_script:
- cmake .
- cmake -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% .
- cmake --build .