|
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
|
| Rev | Line | |
|---|
| [20381] | 1 | This premake module adds supports for pkgconfig.
|
|---|
| 2 |
|
|---|
| 3 | It 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 |
|
|---|
| 6 | The solution of putting directly the output (like "-Lxml2") into the linker
|
|---|
| 7 | options creates an inconsistency between libraries using pkgconfig and the
|
|---|
| 8 | libraries not using it.
|
|---|
| 9 |
|
|---|
| 10 | We should always use premake's linkoptions to specify global options and
|
|---|
| 11 | links to specify libraries, in order to avoid ordering problems in the
|
|---|
| 12 | list of libraries statically linked.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.