Skip to content

This template can be used to create modern C++ applications based on CMake.

License

Notifications You must be signed in to change notification settings

felix-scheib/CppTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Template

This template can be used to create modern C++ applications based on CMake.

Prerequisites

A C++ toolchain, clang-tools and CMake need to be available on the system. I you prefer using clang as C++ compiler, it also needs to be available on the system.

Usage

New libraries can be added using CPM.cmake only using CMake files.

The compilation will produce three executables

  1. the actual binary
  2. a benchmarking binary
  3. a testing binary

The compilation can either be done using raw CMake or CMake presets.

# Raw CMake
cmake -S . -B build
cmake --build build
# CMake preset
cmake --preset PRESET
cmake --build --preset PRESET

TODO: Code Documentation with Doxygen

Preinstalled Libraries

About

This template can be used to create modern C++ applications based on CMake.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published