Mention CMAKE_<LANG>_CLANG_TIDY in buildvariables doc
This commit is contained in:
parent
16103c0662
commit
8e6854985f
|
@ -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_FEATURES_FOR_COMPILER_DETECTION_HEADER cxx_thread_local)
|
||||||
set(META_VERSION_MAJOR 5)
|
set(META_VERSION_MAJOR 5)
|
||||||
set(META_VERSION_MINOR 1)
|
set(META_VERSION_MINOR 1)
|
||||||
set(META_VERSION_PATCH 0)
|
set(META_VERSION_PATCH 1)
|
||||||
|
|
||||||
# find required 3rd party libraries
|
# find required 3rd party libraries
|
||||||
include(3rdParty)
|
include(3rdParty)
|
||||||
|
|
|
@ -65,6 +65,8 @@ None of these are enabled or set by default, unless stated otherwise.
|
||||||
analysis with `clang-tidy`
|
analysis with `clang-tidy`
|
||||||
* can be made unavailable by setting `META_NO_STATIC_ANALYSIS` in the
|
* can be made unavailable by setting `META_NO_STATIC_ANALYSIS` in the
|
||||||
project file
|
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
|
* `CLANG_SOURCE_BASED_COVERAGE_ENABLED=ON/OFF`: enables `coverage` target to
|
||||||
determine source-based test coverage using Clang/llvm
|
determine source-based test coverage using Clang/llvm
|
||||||
* only available when building with Clang under UNIX
|
* only available when building with Clang under UNIX
|
||||||
|
|
Loading…
Reference in New Issue