Skip to content
/ cpp23 Public template

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

License

Notifications You must be signed in to change notification settings

opchaves/cpp23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks