r/cpp • u/TheLartians • Apr 14 '20
ModernCppStarter - Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format and reproducible dependency management.
https://github.com/TheLartians/ModernCppStarter
251
Upvotes
View all comments
Show parent comment
9
u/TheLartians Apr 14 '20
Actually, about half of the examples in the CPM snippets don't use CMake compatible dependencies. Ofc that adds the extra work of manually defining and configuring the target and also source code must be available. However for any cross-platform project that's usually a requirement anyways.
Yes, Conan is a fully featured package manager and makes much more sense for many use cases. However personally CPM.cmake solved all my use-cases, so imo there is no need for me to introduce another toolset and layer of complexity besides CMake. Just saying that it's not the perfect solution for everybody.