Co-authored-by: Shrukan <shrukan@shrukanslab.xyz> Reviewed-on: sl-devs/CppTemplate#6
${REPO_NAME_PASCAL}
${REPO_DESCRIPTION}
Build Instructions
The provided Docker image includes all necessary dependencies to build and debug C/C++ applications. While the main build system is Meson, a Makefile is provided for convenience. With dependencies installed, or inside the Docker container, run the following:
maketo build the applicationmake testto run all configured testsmake coverageto run tests and generate coverage reportsmake debugto compile with debug flagsmake releaseto compile with release optimization (default)make sanitizeto compile with address sanitizermake scan-buildto run LLVM scan-build, if installed (not by default in the docker image)make docs/htmlto build the HTML Doxygen documentationmake clang-formatto run the autoformattermake cleanto delete artifacts from the build directorymake spotlessto delete the build directory altogether and purge subprojects
All other targets are passed directly to the Ninja backend.
Description
This is a basic template repository based on the Meson build system, the Doctest unit test framework, and Doxygen. It's designed to be fully ready for C++ application development in a VS Code environment on Linux with minimal dependencies.
Release 2.0.0
Latest
Languages
Dockerfile
45.3%
Just
34.2%
Meson
16.6%
C++
3.9%