caveexpress icon indicating copy to clipboard operation
caveexpress copied to clipboard

BUILD: looks like the bundled SDL.h is always used even if a system wide is found

Open mgerhardy opened this issue 9 years ago • 2 comments

mgerhardy avatar Dec 19 '15 19:12 mgerhardy

it should be possible to bundle the source of the games without all the source and header files of the external dependencies.

mgerhardy avatar Dec 19 '15 19:12 mgerhardy

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/

akien-mga avatar Jul 18 '16 17:07 akien-mga