A template project (library and executable) for C++ projects with cmake, ctest, vcpkg, circleci, and automated document deploymend via doxygen to gh-pages
A C++ GitHub template project.
A C++ GitHub template project consisting of a circleci build pipeline utilising cmake, ctest, vcpkg, and an automated documentation deployment via GitHub-Actions at gh-pages branch.
To build the project:
~/PROJECTNAME/build/cmake .. -DCMAKE_TOOLCHAIN_FILE={YOUR_PATH_TO_VCPKG}/scripts/buildsystems/vcpkg.cmake
~/PROJECTNAME/build/cmake --build . --config Release
~/PROJECTNAME/build/ctest
./build/app/PROJECTNAME
To update the docker image:
sudo docker build -t IMAGENAME .
sudo docker tag IMAGENAME:TAG DOCKERHUBUSERNAME/IMAGENAME:TAG
sudo docker push DOCKERHUBUSERNAME/IMAGENAME:TAG
To change/add dependencies:
.cirlceci/config.yml
to your needs- run:
name: Install vcpkg dependencies
command: ./../../vcpkg/vcpkg install DEPENDENCIES
Documentation can be found at https://ben1980.github.io/cpptemplate/
Benjamin Mahr – GitHub
– LinkedIn
– Twitter
– Mail
Distributed under the MIT license. See LICENSE
for more information.
git checkout -b feature/fooBar
)git commit -am 'Add some fooBar'
)git push origin feature/fooBar
)