Read dependencies from CMake
I understand that this is probably a pretty major request. :) But it seems redundant to have a whole repo full of build metadata when each project already contains a CMakeLists.txt
file with information on the required KDE and non-KDE dependencies defined in a guaranteed-correct manner (or else it wouldn't build!).
Projected advantages:
- Guaranteed-correct dependencies
- Source of truth for non-KDE dependencies
- Faster build time due to pared-down list of dependencies
- Eliminates required maintenance for a separate metadata repo
Projected disadvantages:
- Potentially a lot of work to implement
- Slower initial dependency generation; building project X would require downloading its repo, reading its
CMakeLists.txt
file, calculating its KDE dependencies, then recursively doing the same for those repos