cmake_template
cmake_template copied to clipboard
CMake for C++ Best Practices
Enabling this macro in debug builds causes a warning which is then treated as an error failing the build: /usr/include/features.h:414:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings] 414 |...
After applying #65 and #75 these changes attempt to resolve the remaining build-halting warnings. - Excludes 'misc-include-cleaner' from clang-tidy warning's as errors flag. - Adds default case on switch (signed...
build on OS-latest with newest setup-cpp version ymllint all files fix typos and strip WS
MSVC does not allow the use of ASAN on debug builds, so modified sanitizers.cmake to reflect that. MSVC requires the ASAN dlls to run, so I put an install for...
Allow someone that uses the cmake_template to have a single varaible file to add * executables * add sub directories * set the default vscode project Thereby not needing to...
In this piece of code: ``` if(myproject_BUILD_FUZZ_TESTS) message(AUTHOR_WARNING "Building Fuzz Tests, using fuzzing sanitizer https://www.llvm.org/docs/LibFuzzer.html") if (NOT myproject_ENABLE_ADDRESS_SANITIZER AND NOT myproject_ENABLE_THREAD_SANITIZER) message(WARNING "You need asan or tsan enabled for meaningful...
Hi, I am trying to use your template for a project of mine. Unfortunately, I am not sure I understand the definition of the package maintainer ( myproject_PACKAGING_MAINTAINER_MODE) I the...
https://github.com/cpp-best-practices/cmake_template/blob/d19d8921771ba582824948f0cc57f849a5c6efd8/cmake/StaticAnalyzers.cmake#L98 I guess the intention here was just to have a normal `message(WARNING ...)`