Closed franciscod closed 9 years ago
Reducing the buildsystem complexity is next to impossible, as we depend on code generation and stuff. We tried splitting up all the components to cmake modules instead of having one single monolithing CMakeLists.txt
in the root.
Sure we can try simplifying it further, but i doubt this is possible without loosing functionality.
./configure
is a convenience tool for the developers, packagers don't need to use it. Otherwise you as developer would have to do the cmake invokation and specify optimization flags yourself.
Your main point seems to be reducing the number of buildsystem files, but i doubt merging stuff to one file will increase simplicity even a bit.
If other ideas come up, feel free to reopen.
This whole windows thingy got me thinking... The CMakeLists describe the deps and the build process. Why bother with
./configure
at all? Should we remove it? What aboutbuildsystem/simple
?Take a look here https://github.com/Unvanquished/Unvanquished, they have so few cmake and just 3 CMakeLists.txt! I bet we can shrink everything to a single CMakeLists.txt on openage! But, should we?
I'm tempted to say yes :grinning: