Skip to content
Public template

About

Starter template for your C++ project. A super simple template for C++23 projects using CMake and doctest

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

C++23 Project with CMake and doctest

Structure

  • src/ — Library source code
  • cli/ — Command-line executable
  • tests/ — Unit tests using doctest

Build Instructions

make configure  # Configure build in Debug mode
make build      # Build in Debug mode (default)
make debug      # Build in Debug mode
make release    # Configure and Build in Release mode

Run CLI

make run        # Build and run CLI executable

Run Tests

make test       # Build and run tests

Clean Build

make clean      # Remove build directory

Features

  • C++23 standard
  • CMake with extensions OFF
  • Exported compile commands
  • doctest for unit testing (fetched automatically)

About

Starter template for your C++ project. A super simple template for C++23 projects using CMake and doctest

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages