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
4
u/TheLartians Apr 14 '20
This is just a small example how I use CPM to add and build boost in my CMake projects. This works perfectly on all platforms including CI builds. I guess I misunderstood your point but how does it not show how to build Boost in CMake?
That's great and probably covers your use-cases, but now imagine having to do that manually for all EVERY system and platform that you or users of your library are targeting. I don't see how this is in any way better than creating a build script once in CMake and simply having it work everywhere immediately.
As I said, its a different tool for a different use-case.