Skip to content
/ cpp-template Public template

A C++ template for getting started with new projects

License

Notifications You must be signed in to change notification settings

uyha/cpp-template

Repository files navigation

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

About

A C++ template for getting started with new projects

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages