3 ms·
C++ currently has a package manager. It is called git. Git has submodules for dependency management, tags for release management and binary downloads, gpg signi
by nurettin 9y ago
C++ currently has a package manager. It is called git. Git has submodules for dependency management, tags for release management and binary downloads, gpg signing for authenticity and online services for hosting.
- adrianN 9y agoA package manager is not very useful if your build system doesn't integrate with it.
- nurettin 9y agoYes, that's why you commit your cmake files.
- stochastic_monk 9y agoI agree both that nurettin has a great point and that git is insufficient. A recent failure: I use some projects which fail to compile with clang or more recent gccs but happily compile with gcc4. Homebrew/linuxbrew don't let me have multiple gccs. I use a server which supports the module system and covers gccs from 4 through 7, so I don't have problems there, but I can't compile some things at all on my laptop. Similarly, CMake can work well, but it often breaks for me when I try to build some other peoples' projects, and is much harder to reverse engineer to fix than Makefile.
- humanrebar 9y agoSubmodules don't scale when you have N dependencies with M directory structures.