Mention CMAKE_<LANG>_CLANG_TIDY in buildvariables doc

This commit is contained in:
Martchus 2020-01-10 17:57:42 +01:00
parent 16103c0662
commit 8e6854985f
2 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,7 @@ set(META_APP_DESCRIPTION "Useful C++ classes and routines such as argument parse
set(META_FEATURES_FOR_COMPILER_DETECTION_HEADER cxx_thread_local)
set(META_VERSION_MAJOR 5)
set(META_VERSION_MINOR 1)
set(META_VERSION_PATCH 0)
set(META_VERSION_PATCH 1)
# find required 3rd party libraries
include(3rdParty)

View File

@ -65,6 +65,8 @@ None of these are enabled or set by default, unless stated otherwise.
analysis with `clang-tidy`
* can be made unavailable by setting `META_NO_STATIC_ANALYSIS` in the
project file
* the variable [CMAKE_<LANG>_CLANG_TIDY](https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_CLANG_TIDY.html#variable:CMAKE_%3CLANG%3E_CLANG_TIDY)
provided by CMake itself provides a similar functionality
* `CLANG_SOURCE_BASED_COVERAGE_ENABLED=ON/OFF`: enables `coverage` target to
determine source-based test coverage using Clang/llvm
* only available when building with Clang under UNIX