Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 1.54 KB

README.rst

File metadata and controls

68 lines (44 loc) · 1.54 KB

A template for C++ projects

C/C++ CI

This is a template to start a new C++ project with dependency management built into it. Hence, it is opinionated about how dependency management of a C++ project can be done. This template uses conan to manage C++’s dependency.

Requirements

Optional

Usage

Just clone/download the project or click the Use this template button if you’re using Github as your git hosting site and start coding.

Users are encouraged to learn a bit about how conan works to better understand the conanfile.txt and how to add more dependencies.

Configure and build with just

If you're using just, you can run

just config

to configure the project and

just build

to build the project

Configure and build with normal cmake

If you want to use raw CMake, you should use the preset. To configure the project, you can run

cmake --preset debug

and to build the project, you can run

cmake --build --preset debug