summaryrefslogtreecommitdiffhomepage
path: root/appveyor.yml
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2017-10-11 22:33:09 +0200
committerAhmad Fatoum <[email protected]>2017-11-24 17:15:33 +0100
commit44376c04fa8ed5bc9ca48598afa1d177d169fa32 (patch)
tree71631ce3c45385ab7c2f1251abb5fcf8c2a11201 /appveyor.yml
parent589cec0dd585bae24bd872e70a3bcf64a95e5b1a (diff)
downloadraylib-44376c04fa8ed5bc9ca48598afa1d177d169fa32.tar.gz
raylib-44376c04fa8ed5bc9ca48598afa1d177d169fa32.zip
Generate and install pkg-config pc file
After installation, compiling new programs is possible with $ cc game.c `pkg-config --static --libs --cflags raylib` or $ cc game.c `pkg-config --libs --cflags raylib` depending on configuration Also adds following configuration options: - WITH_PIC "Compile static library as position-independent code" - STATIC_RAYLIB "Build raylib as a static library" - MACOS_FATLIB "Build fat library for both i386 and x86_64 on macOS"
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 36f161c3..864d0c68 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -37,7 +37,7 @@ before_build:
- cd build
build_script:
- - cmake -G %GENERATOR% -DBUILD_EXAMPLES=OFF -DBUILD_GAMES=OFF ..
+ - cmake -G %GENERATOR% -DSTATIC_RAYLIB=ON -DSHARED_RAYLIB=OFF -DBUILD_EXAMPLES=OFF -DBUILD_GAMES=OFF ..
- cmake --build . --target install
after_build: