Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 828 Bytes

File metadata and controls

31 lines (19 loc) · 828 Bytes

CPP-starter-lite

Forked from https://github.com/TheLartians/MiniCppStarter and adapted to my specific needs.

Features

  • Separation of library and executable code
  • Reproducible dependency management via CPM.cmake

Usage

Adjust the template to your needs

  • 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!

Build and run the standalone target

Use the following command to build and run the executable target.

cmake -S. -Bbuild && cmake --build build && ./build/App
./build/App --help

FAQ

I want something more sophisticated with test, format and CI.

Perhaps the CppStarter is something for you!