Skip to content

jmrtt/cpp-base-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ base template project

This is a C++ base template project with the following components:

  • CMake for cross-platform build system;
  • Default C++ standard set to C++20, so we can use new features like concepts;
  • Catch2 for testing;
  • Conan for package manager that is called by CMake to download the necessary dependencies;

This project was only tested in Ubuntu 20.10.

Build

To build the project, create a directory and run the following commands:

mkdir build && cd build
cmake ..
make
 ./bin/cpp_base_project

Test

Testing uses CTest and Catch2 and after building the project, run:

make test

About

C++ base project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published