mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Setup shared/static Travis and AppVeyor build
This commit is contained in:
parent
97fd691183
commit
cd373545b0
@ -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 .
|
||||
|
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user