This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

source: ps/trunk/build/premake/pkgconfig/README.md

Last change on this file was 20381, checked in by Itms, 7 years ago

Migrate to premake5, fixes #3729.
Make pyrogenesis and tests depend on Collada, fixes #404.

This commit includes custom modules for CxxTest and pkg-config support that can be improved upon in the future. It also includes all necessary changes to the build scripts, but the new premake5 features are not fully exploited yet.

With this change, premake5 becomes the default, but CI scripts on Unix will continue using premake4 for a while, in order to avoid regressions.

Includes code by zsol.
Reviewed by: wraitii, leper
Differential Revision: https://code.wildfiregames.com/D72

File size: 560 bytes
RevLine 
[20381]1This premake module adds supports for pkgconfig.
2
3It allows one to use the `pkg-config` command (or an alternative one like
4`sdl2-config` to determine the names of libraries to be passed to the linker.
5
6The solution of putting directly the output (like "-Lxml2") into the linker
7options creates an inconsistency between libraries using pkgconfig and the
8libraries not using it.
9
10We should always use premake's linkoptions to specify global options and
11links to specify libraries, in order to avoid ordering problems in the
12list of libraries statically linked.
Note: See TracBrowser for help on using the repository browser.