diff options
Diffstat (limited to 'backend/CMakeLists.txt')
| -rw-r--r-- | backend/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/CMakeLists.txt b/backend/CMakeLists.txt index fcd75a8..2701c08 100644 --- a/backend/CMakeLists.txt +++ b/backend/CMakeLists.txt @@ -46,6 +46,10 @@ option(RCC_BACKEND_WARNINGS_AS_ERRORS "Treat compiler warnings as errors" OFF) option(RCC_BACKEND_ENABLE_CLANG_TIDY "Run clang-tidy during each compilation" OFF) option(RCC_BACKEND_ENABLE_EH "Enable C++ exception handling" OFF) option(RCC_BACKEND_ENABLE_RTTI "Enable C++ run-time type information" OFF) +set(RCC_BACKEND_TIDY_BASE "HEAD" CACHE STRING + "Git revision used as the merge base for incremental clang-tidy") +set(RCC_BACKEND_TIDY_JOBS "0" CACHE STRING + "Parallel clang-tidy jobs; zero uses the logical CPU count") if(RCC_BACKEND_ENABLE_EH AND NOT RCC_BACKEND_ENABLE_RTTI) message(FATAL_ERROR "RCC Backend exception handling requires RTTI") |
