Forked from https://github.com/TheLartians/MiniCppStarter and adapted to my specific needs.
- Separation of library and executable code
- Reproducible dependency management via CPM.cmake
- Replace all occurrences of "App" in the relevant CMakeLists.txt with the name of your project
- Replace the source files with your own
- Happy coding!
Use the following command to build and run the executable target.
cmake -S. -Bbuild && cmake --build build && ./build/App
./build/App --help
I want something more sophisticated with test, format and CI.
Perhaps the CppStarter is something for you!