Skip to content

C++ lite project starter (CMake, reproducible dependency management)

Notifications You must be signed in to change notification settings

lusimeon/cpp-starter-lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

C++ lite project starter (CMake, reproducible dependency management)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 94.6%
  • C++ 5.4%