mgerhardy / caveexpress

CaveExpress is a classic 2D platformer with physics-based gameplay and dozens of levels. CavePacker is a Sokoban game.
http://www.caveproductions.org/
Other
144 stars 20 forks source link

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

Open mgerhardy opened 8 years ago

mgerhardy commented 8 years ago

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

akien-mga commented 8 years ago

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: