aboutsummaryrefslogtreecommitdiffstats
path: root/ClazySources.cmake
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2018-03-02 17:02:38 +0000
committerSergio Martins <smartins@kde.org>2018-03-02 17:06:22 +0000
commit14d841f449b22440b66fbbcd2c095a901f95bc05 (patch)
treebfdc2259cf8e51aab8ed52eb8e42656a96aac406 /ClazySources.cmake
parentab6aaedb4fa10d7dafd8d73c5cf35cf231977ba7 (diff)
generate.py now also generates CheckSources.cmake
This makes it easier to compile only 1 check, useful during development to reduce build times, you just trim down checks.json and generate
Diffstat (limited to 'ClazySources.cmake')
-rw-r--r--ClazySources.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ClazySources.cmake b/ClazySources.cmake
index 8c492a7b..d0d7a496 100644
--- a/ClazySources.cmake
+++ b/ClazySources.cmake
@@ -14,6 +14,11 @@ set(CLAZY_LIB_SRC
${CMAKE_CURRENT_LIST_DIR}/src/Utils.cpp
)
+set(CLAZY_CHECKS_SRCS
+ ${CMAKE_CURRENT_LIST_DIR}/src/checks/detachingbase.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/checks/inefficientqlistbase.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/checks/ruleofbase.cpp
+)
include(CheckSources.cmake)
set(CLAZY_SHARED_SRCS # sources shared between clazy-standalone and clazy plugin