caveexpress
caveexpress copied to clipboard
BUILD: looks like the bundled SDL.h is always used even if a system wide is found
it should be possible to bundle the source of the games without all the source and header files of the external dependencies.
I'm definitely supportive of this issue. Ideally it should be possible to build everything even after rm -rf src/libs
. Right now it clearly won't work as the code to handle loading the shared libraries is, from what I could see, in the CMakeLists.txt for each external dependency.
@apoleon had to hack things a bit to get the engine building against shared libraries without having to ship the code of the embedded ones I think:
- https://sources.debian.net/src/caveexpress/2.4%2Bgit20160609-2/debian/patches/use-system-libraries.patch/
- https://sources.debian.net/src/caveexpress/2.4%2Bgit20160609-2/debian/patches/use-system-Box2D.patch/