4 ms·
If we are talking about C++ then the problem is that there a too many build systems and all of them are incompatible. CMake is quite popular (and maybe most po
by RazrFalcon 9y ago
If we are talking about C++ then the problem is that there a too many build systems and all of them are incompatible.
CMake is quite popular (and maybe most popular) but it's a complete horror in comparison to other build systems, especially for other languages (like Cargo for Rust).
If you need some specific example: try to add a git-based dependency with a specific branch in CMake.
- qznc 9y agoMy first idea would be to use git-submodule and keep CMake ignorant of that.
- pjmlp 9y agoBuild systems should be agnostic from source control systems. The unit of dependencies should be other projects or binary libraries.
- qznc 9y agoI'm not sure about that. If you have dependencies to other internal repositories and to specific revisions, it is not clear who is responsible. Make can be agnostic, but Maven or NPM probably can not.
- pjmlp 9y agoMaven surely can. You only depend on binary versions of Java libraries, no source code, as it should be.