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

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. In addition to that, if Python is needed for the project, it also uses pipenv or poetry to manage Python’s virtual environments and its dependencies.

Requirements

  • cmake
  • conan

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. If the CMake scripts can’t find conan automatically, please help it by providing -DCONAN_DIR=/path/to/conan/directory.

Miscellaneous

To opt out of using pipenv or poetry, delete the Pipfile or pyproject.toml, respectively, at the project’s root.

About

A C++ template for getting started with new projects

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published