Skip to content
/ cpp-template Public template

Template project structure for a C++ library project

License

Notifications You must be signed in to change notification settings

boki1/cpp-template

Repository files navigation

Cpp project template

build-and-tests format-check License: MIT


Template for moderately small modern C++ libraries using CMake and the Conan package manager.

Building

$ ./build.sh

NB

Currently the template requires that the version of conan is not conan2, so you may have to run something along the lines of

$ pip install --force-reinstall -v "conan==1.47.0"

Also make sure that python3 commands are ran inside a virtual environment.

Documentation - Latest

The documentation is automatically deployed in the Pages of this repository. Note that you may have to manually change the settings of "Pages" to use the "gh-pages" branch. After that the produced output may be checked out at "https://.github.io/".

Customization

For quick change of all mentions of "cpp-template" you may use the following commands:

$ grep -rl cpp-template . | xargs sed -i 's/cpp-template/new-project/g'
$ grep -rl cpp_template . | xargs sed -i 's/cpp_template/new_project/g'
$ grep -rl CPP_TEMPLATE . | xargs sed -i 's/CPP_TEMPLATE/NEW_PROJECT/g'

About

Template project structure for a C++ library project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published