You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most people in the SuperTux team might know me as a "possible cmake expert". And I say that the current way dependencies are managed is terrible!
The only platform that is easy to build for is Linux, because of the abundance of a package manager and pkgconfig. Building SuperTux for Windows is a massive pain. You either:
Use vcpkg in hopes of it working
Build every possible dependency from source, one after another
Both of these options still require you to modify the CMake scripts, for some weird reason, and to do so, one needs to have significant knowdlege about CMake.
My proposal would be to build as many dependencies from source as possible using git submodules and add_subdirectory, regardless of platform. Therefore it's guaranteed to work flawlessly (if managed correctly) on all platforms (the only platform I have doubts with is webassembly). It would also help my new cmake-based android builds.
Sure, building dependencies from source might be slow, but with the Ninja build system, you don't even notice you're building dependencies from source.
I might come out with a pull request taking a look at all of this, but I would like to know your opinion.
The text was updated successfully, but these errors were encountered:
Most people in the SuperTux team might know me as a "possible cmake expert". And I say that the current way dependencies are managed is terrible!
The only platform that is easy to build for is Linux, because of the abundance of a package manager and pkgconfig. Building SuperTux for Windows is a massive pain. You either:
Both of these options still require you to modify the CMake scripts, for some weird reason, and to do so, one needs to have significant knowdlege about CMake.
My proposal would be to build as many dependencies from source as possible using git submodules and
add_subdirectory
, regardless of platform. Therefore it's guaranteed to work flawlessly (if managed correctly) on all platforms (the only platform I have doubts with is webassembly). It would also help my new cmake-based android builds.Sure, building dependencies from source might be slow, but with the Ninja build system, you don't even notice you're building dependencies from source.
I might come out with a pull request taking a look at all of this, but I would like to know your opinion.
The text was updated successfully, but these errors were encountered: