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 language: cpp
os: os:
- linux - linux
- osx - osx
env:
- BUILD_SHARED_LIBS=ON
- BUILD_SHARED_LIBS=OFF
sudo: false sudo: false
addons: addons:
apt: apt:
@ -12,5 +13,5 @@ addons:
packages: packages:
- cmake - cmake
script: script:
- cmake . - cmake -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} .
- cmake --build . - cmake --build .

View File

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