diff options
| author | Ahmad Fatoum <[email protected]> | 2017-10-11 22:33:09 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <[email protected]> | 2017-11-24 17:15:33 +0100 |
| commit | 44376c04fa8ed5bc9ca48598afa1d177d169fa32 (patch) | |
| tree | 71631ce3c45385ab7c2f1251abb5fcf8c2a11201 /raylib.pc.in | |
| parent | 589cec0dd585bae24bd872e70a3bcf64a95e5b1a (diff) | |
| download | raylib-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 'raylib.pc.in')
| -rw-r--r-- | raylib.pc.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/raylib.pc.in b/raylib.pc.in new file mode 100644 index 00000000..0472c283 --- /dev/null +++ b/raylib.pc.in @@ -0,0 +1,13 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: raylib +Description: Simple and easy-to-use library to learn videogames programming +URL: https://github.com/raysan5/raylib +Version: @PROJECT_VERSION@ +Libs: -L${libdir} -lraylib +Libs.private:@PKG_CONFIG_LIBS_PRIVATE@ +Requires.private: +Cflags: -I${includedir} |
