A C++ project template using CMake
- Ninja
- CMake
- Doxygen
- Create a new project using this template by:
- Cloning this repository
- Clicking the "Use this template" button
- Replace the default
LICENCE
andREADME.md
files. - Rename
mylibraryConfig.cmake.in
to<project-name>Config.cmake.in
- Within the
CMakePresets.json
file- Replace all instances of
MYLIBRARY_*
with<PROJECT-NAME>_*
- Replace all instances of
- Within the various
CMakeLists.txt
files- Change the default project name (
mylibrary
) to the name of your project - Change the default
CPACK_PACKAGE_VENDOR
to your/your organization's name - Replace all instances of
MYLIBRARY_*
to<PROJECT-NAME>_*
- Change the default project name (
- Start coding