-
-
Notifications
You must be signed in to change notification settings - Fork 94
/
ClazySources.cmake
44 lines (40 loc) · 1.37 KB
/
ClazySources.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
set(CLAZY_LIB_SRC
${CMAKE_CURRENT_LIST_DIR}/src/AccessSpecifierManager.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checkbase.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checkmanager.cpp
${CMAKE_CURRENT_LIST_DIR}/src/SuppressionManager.cpp
${CMAKE_CURRENT_LIST_DIR}/src/ContextUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/src/FixItUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/src/FixItExporter.cpp
${CMAKE_CURRENT_LIST_DIR}/src/LoopUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/src/PreProcessorVisitor.cpp
${CMAKE_CURRENT_LIST_DIR}/src/QtUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/src/StringUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/src/TemplateUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/src/TypeUtils.cpp
${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/ruleofbase.cpp
)
include(CheckSources.generated.cmake)
set(CLAZY_SHARED_SRCS # sources shared between clazy-standalone and clazy plugin
${CLAZY_CHECKS_SRCS}
${CMAKE_CURRENT_LIST_DIR}/src/ClazyContext.cpp
${CMAKE_CURRENT_LIST_DIR}/src/Clazy.cpp
${CLAZY_LIB_SRC}
)
set(CLAZY_PLUGIN_SRCS # Sources for the plugin
${CLAZY_SHARED_SRCS}
)
if (MSVC)
set(CLAZY_STANDALONE_SRCS
${CLAZY_SHARED_SRCS}
${CMAKE_CURRENT_LIST_DIR}/src/ClazyStandaloneMain.cpp
)
else()
set(CLAZY_STANDALONE_SRCS
${CMAKE_CURRENT_LIST_DIR}/src/ClazyStandaloneMain.cpp
)
endif()