|
@@
-1,171
+1,170
|
|
1
|
|
|
|
|
|
2
|
## core - CMakeLists.txt
|
|
1
|
## core - CMakeLists.txt
|
|
3
|
STRING(TOLOWER ${CMAKE_PROJECT_NAME} LIBRARY_PREFFIX)
|
|
2
|
STRING(TOLOWER ${CMAKE_PROJECT_NAME} LIBRARY_PREFFIX)
|
|
4
|
SET(SQPCORE_LIBRARY_NAME "${LIBRARY_PREFFIX}_core${DEBUG_SUFFIX}")
|
|
3
|
SET(SQPCORE_LIBRARY_NAME "${LIBRARY_PREFFIX}_core${DEBUG_SUFFIX}")
|
|
5
|
SET(SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/")
|
|
4
|
SET(SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/")
|
|
6
|
SET(INCLUDES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include/")
|
|
5
|
SET(INCLUDES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include/")
|
|
7
|
SET(TESTS_RESOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tests-resources")
|
|
6
|
SET(TESTS_RESOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tests-resources")
|
|
8
|
|
|
7
|
|
|
9
|
# Include core directory
|
|
8
|
# Include core directory
|
|
10
|
include_directories("${INCLUDES_DIR}")
|
|
9
|
include_directories("${INCLUDES_DIR}")
|
|
11
|
|
|
10
|
|
|
12
|
# Set a variable to display a warning in the version files.
|
|
11
|
# Set a variable to display a warning in the version files.
|
|
13
|
SET(SCIQLOP_CMAKE_GENERATION_WARNING "DON'T CHANGE THIS FILE. AUTOGENERATED BY CMAKE.")
|
|
12
|
SET(SCIQLOP_CMAKE_GENERATION_WARNING "DON'T CHANGE THIS FILE. AUTOGENERATED BY CMAKE.")
|
|
14
|
# Generate the version file from the cmake version variables. The version
|
|
13
|
# Generate the version file from the cmake version variables. The version
|
|
15
|
# variables are defined in the cmake/sciqlop_version.cmake file.
|
|
14
|
# variables are defined in the cmake/sciqlop_version.cmake file.
|
|
16
|
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/resources/Version.h.in"
|
|
15
|
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/resources/Version.h.in"
|
|
17
|
"${INCLUDES_DIR}/Version.h")
|
|
16
|
"${INCLUDES_DIR}/Version.h")
|
|
18
|
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/resources/Version.cpp.in"
|
|
17
|
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/resources/Version.cpp.in"
|
|
19
|
"${SOURCES_DIR}/Version.cpp")
|
|
18
|
"${SOURCES_DIR}/Version.cpp")
|
|
20
|
|
|
19
|
|
|
21
|
# Find dependent modules
|
|
20
|
# Find dependent modules
|
|
22
|
find_package(sciqlop-plugin)
|
|
21
|
find_package(sciqlop-plugin)
|
|
23
|
INCLUDE_DIRECTORIES(${SCIQLOP-PLUGIN_INCLUDE_DIR})
|
|
22
|
INCLUDE_DIRECTORIES(${SCIQLOP-PLUGIN_INCLUDE_DIR})
|
|
24
|
|
|
23
|
|
|
25
|
#
|
|
24
|
#
|
|
26
|
# Find Qt modules
|
|
25
|
# Find Qt modules
|
|
27
|
#
|
|
26
|
#
|
|
28
|
SCIQLOP_FIND_QT(Core Network)
|
|
27
|
SCIQLOP_FIND_QT(Core Network)
|
|
29
|
|
|
28
|
|
|
30
|
#
|
|
29
|
#
|
|
31
|
# Compile the library library
|
|
30
|
# Compile the library library
|
|
32
|
#
|
|
31
|
#
|
|
33
|
|
|
32
|
|
|
34
|
ADD_DEFINITIONS(-DCORE_LIB)
|
|
33
|
ADD_DEFINITIONS(-DCORE_LIB)
|
|
35
|
|
|
34
|
|
|
36
|
FILE (GLOB_RECURSE MODULE_SOURCES
|
|
35
|
FILE (GLOB_RECURSE MODULE_SOURCES
|
|
37
|
${INCLUDES_DIR}/*.h
|
|
36
|
${INCLUDES_DIR}/*.h
|
|
38
|
${SOURCES_DIR}/*.c
|
|
37
|
${SOURCES_DIR}/*.c
|
|
39
|
${SOURCES_DIR}/*.cpp
|
|
38
|
${SOURCES_DIR}/*.cpp
|
|
40
|
${SOURCES_DIR}/*.h)
|
|
39
|
${SOURCES_DIR}/*.h)
|
|
41
|
|
|
40
|
|
|
42
|
ADD_LIBRARY(${SQPCORE_LIBRARY_NAME} ${MODULE_SOURCES})
|
|
41
|
ADD_LIBRARY(${SQPCORE_LIBRARY_NAME} ${MODULE_SOURCES})
|
|
43
|
set_property(TARGET ${SQPCORE_LIBRARY_NAME} PROPERTY CXX_STANDARD 14)
|
|
42
|
set_property(TARGET ${SQPCORE_LIBRARY_NAME} PROPERTY CXX_STANDARD 14)
|
|
44
|
set_property(TARGET ${SQPCORE_LIBRARY_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
|
|
43
|
set_property(TARGET ${SQPCORE_LIBRARY_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
|
|
45
|
TARGET_LINK_LIBRARIES(${SQPCORE_LIBRARY_NAME})
|
|
44
|
TARGET_LINK_LIBRARIES(${SQPCORE_LIBRARY_NAME})
|
|
46
|
qt5_use_modules(${SQPCORE_LIBRARY_NAME} Core Network)
|
|
45
|
qt5_use_modules(${SQPCORE_LIBRARY_NAME} Core Network)
|
|
47
|
|
|
46
|
|
|
48
|
# Find CATALOGUE_API
|
|
47
|
# Find CATALOGUE_API
|
|
49
|
if(CATALOGUEAPI_FOUND)
|
|
48
|
include_directories("${CATALOGUEAPI_INCLUDE}")
|
|
50
|
include_directories("${CATALOGUEAPI_INCLUDE_DIRS}")
|
|
49
|
TARGET_LINK_LIBRARIES(${SQPCORE_LIBRARY_NAME} ${CATALOGUEAPI_LIBRARIES})
|
|
51
|
TARGET_LINK_LIBRARIES(${SQPCORE_LIBRARY_NAME} ${CATALOGUEAPI_LIBRARIES})
|
|
|
|
|
52
|
endif()
|
|
|
|
|
53
|
|
|
|
|
|
54
|
INSTALL(TARGETS ${SQPCORE_LIBRARY_NAME}
|
|
50
|
INSTALL(TARGETS ${SQPCORE_LIBRARY_NAME}
|
|
55
|
RUNTIME DESTINATION ${INSTALL_BINARY_DIR}
|
|
51
|
RUNTIME DESTINATION ${INSTALL_BINARY_DIR}
|
|
56
|
LIBRARY DESTINATION ${INSTALL_LIBRARY_DIR}
|
|
52
|
LIBRARY DESTINATION ${INSTALL_LIBRARY_DIR}
|
|
57
|
ARCHIVE DESTINATION ${INSTALL_LIBRARY_DIR}
|
|
53
|
ARCHIVE DESTINATION ${INSTALL_LIBRARY_DIR}
|
|
58
|
)
|
|
54
|
)
|
|
59
|
|
|
55
|
|
|
|
|
|
56
|
add_dependencies(${SQPCORE_LIBRARY_NAME} CatalogueAPI)
|
|
|
|
|
57
|
|
|
60
|
# From cmake documentation: http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html
|
|
58
|
# From cmake documentation: http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html
|
|
61
|
# Entries in the COMPILE_DEFINITIONS are prefixed with -D or /D and added to the compile line in an unspecified order.
|
|
59
|
# Entries in the COMPILE_DEFINITIONS are prefixed with -D or /D and added to the compile line in an unspecified order.
|
|
62
|
# The DEFINE_SYMBOL target property is also added as a compile definition as a special convenience case for SHARED and MODULE library targets
|
|
60
|
# The DEFINE_SYMBOL target property is also added as a compile definition as a special convenience case for SHARED and MODULE library targets
|
|
63
|
IF(BUILD_SHARED_LIBS)
|
|
61
|
IF(BUILD_SHARED_LIBS)
|
|
64
|
SET_TARGET_PROPERTIES(${SQPCORE_LIBRARY_NAME} PROPERTIES COMPILE_DEFINITIONS "SCIQLOP_EXPORT")
|
|
62
|
SET_TARGET_PROPERTIES(${SQPCORE_LIBRARY_NAME} PROPERTIES COMPILE_DEFINITIONS "SCIQLOP_EXPORT")
|
|
65
|
ELSE()
|
|
63
|
ELSE()
|
|
66
|
TARGET_COMPILE_DEFINITIONS(${SQPCORE_LIBRARY_NAME} PUBLIC "SCIQLOP_STATIC_LIBRARIES")
|
|
64
|
TARGET_COMPILE_DEFINITIONS(${SQPCORE_LIBRARY_NAME} PUBLIC "SCIQLOP_STATIC_LIBRARIES")
|
|
67
|
ENDIF()
|
|
65
|
ENDIF()
|
|
68
|
|
|
66
|
|
|
69
|
# Set the variable to parent scope so that the other projects can copy the
|
|
67
|
# Set the variable to parent scope so that the other projects can copy the
|
|
70
|
# dependent shared libraries
|
|
68
|
# dependent shared libraries
|
|
71
|
SCIQLOP_SET_TO_PARENT_SCOPE(SQPCORE_LIBRARY_NAME)
|
|
69
|
SCIQLOP_SET_TO_PARENT_SCOPE(SQPCORE_LIBRARY_NAME)
|
|
72
|
|
|
70
|
|
|
73
|
# Copy extern shared libraries to the lib folder
|
|
71
|
## Copy extern shared libraries to the lib folder
|
|
74
|
LIST (APPEND ${EXTERN_SHARED_LIBRARIES} ${CATALOGUEAPI_LIBRARIES})
|
|
72
|
#LIST (APPEND ${EXTERN_SHARED_LIBRARIES} ${CATALOGUEAPI_LIBRARIES})
|
|
75
|
|
|
73
|
|
|
76
|
SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${CATALOGUEAPI_LIBRARIES})
|
|
74
|
#SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${CATALOGUEAPI_LIBRARIES})
|
|
77
|
if(APPLE)
|
|
75
|
#if(APPLE)
|
|
78
|
SCIQLOP_COPY_TO_TARGET(RUNTIME ${SQPCORE_LIBRARY_NAME} ${CATALOGUEAPI_LIBRARIES})
|
|
76
|
#SCIQLOP_COPY_TO_TARGET(RUNTIME ${SQPCORE_LIBRARY_NAME} ${CATALOGUEAPI_LIBRARIES})
|
|
79
|
endif()
|
|
77
|
#endif()
|
|
80
|
SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${EXTERN_SHARED_LIBRARIES})
|
|
78
|
#SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${EXTERN_SHARED_LIBRARIES})
|
|
81
|
|
|
79
|
|
|
82
|
# Add the files to the list of files to be analyzed
|
|
80
|
# Add the files to the list of files to be analyzed
|
|
83
|
LIST(APPEND CHECKSTYLE_INPUT_FILES ${MODULE_SOURCES})
|
|
81
|
LIST(APPEND CHECKSTYLE_INPUT_FILES ${MODULE_SOURCES})
|
|
84
|
SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
|
|
82
|
SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
|
|
85
|
# Vera++ exclusion files
|
|
83
|
# Vera++ exclusion files
|
|
86
|
LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/vera-exclusions/exclusions.txt)
|
|
84
|
LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/vera-exclusions/exclusions.txt)
|
|
87
|
SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
|
|
85
|
SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
|
|
88
|
|
|
86
|
|
|
89
|
#
|
|
87
|
#
|
|
90
|
# Compile the tests
|
|
88
|
# Compile the tests
|
|
91
|
#
|
|
89
|
#
|
|
92
|
IF(BUILD_TESTS)
|
|
90
|
IF(BUILD_TESTS)
|
|
93
|
INCLUDE_DIRECTORIES(${SOURCES_DIR})
|
|
91
|
INCLUDE_DIRECTORIES(${SOURCES_DIR})
|
|
94
|
FILE (GLOB_RECURSE TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Test*.cpp)
|
|
92
|
FILE (GLOB_RECURSE TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Test*.cpp)
|
|
95
|
FILE (GLOB_RECURSE TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Test*.h)
|
|
93
|
FILE (GLOB_RECURSE TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Test*.h)
|
|
96
|
SET( TEST_LIBRARIES ${SQPCORE_LIBRARY_NAME})
|
|
94
|
SET( TEST_LIBRARIES ${SQPCORE_LIBRARY_NAME})
|
|
|
|
|
95
|
list(APPEND TEST_LIBRARIES ${CATALOGUEAPI_LIBRARIES})
|
|
97
|
|
|
96
|
|
|
98
|
SET(TARGETS_COV)
|
|
97
|
SET(TARGETS_COV)
|
|
99
|
FOREACH( testFile ${TESTS_SOURCES} )
|
|
98
|
FOREACH( testFile ${TESTS_SOURCES} )
|
|
100
|
GET_FILENAME_COMPONENT( testDirectory ${testFile} DIRECTORY )
|
|
99
|
GET_FILENAME_COMPONENT( testDirectory ${testFile} DIRECTORY )
|
|
101
|
GET_FILENAME_COMPONENT( testName ${testFile} NAME_WE )
|
|
100
|
GET_FILENAME_COMPONENT( testName ${testFile} NAME_WE )
|
|
102
|
|
|
101
|
|
|
103
|
# Add to the list of sources files all the sources in the same
|
|
102
|
# Add to the list of sources files all the sources in the same
|
|
104
|
# directory that aren't another test
|
|
103
|
# directory that aren't another test
|
|
105
|
FILE (GLOB currentTestSources
|
|
104
|
FILE (GLOB currentTestSources
|
|
106
|
${testDirectory}/*.c
|
|
105
|
${testDirectory}/*.c
|
|
107
|
${testDirectory}/*.cpp
|
|
106
|
${testDirectory}/*.cpp
|
|
108
|
${testDirectory}/*.h)
|
|
107
|
${testDirectory}/*.h)
|
|
109
|
LIST (REMOVE_ITEM currentTestSources ${TESTS_SOURCES})
|
|
108
|
LIST (REMOVE_ITEM currentTestSources ${TESTS_SOURCES})
|
|
110
|
# LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS})
|
|
109
|
# LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS})
|
|
111
|
|
|
110
|
|
|
112
|
ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources})
|
|
111
|
ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources})
|
|
113
|
set_property(TARGET ${testName} PROPERTY CXX_STANDARD 14)
|
|
112
|
set_property(TARGET ${testName} PROPERTY CXX_STANDARD 14)
|
|
114
|
set_property(TARGET ${testName} PROPERTY CXX_STANDARD_REQUIRED ON)
|
|
113
|
set_property(TARGET ${testName} PROPERTY CXX_STANDARD_REQUIRED ON)
|
|
115
|
TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES} )
|
|
114
|
TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES})
|
|
116
|
qt5_use_modules(${testName} Test)
|
|
115
|
qt5_use_modules(${testName} Test)
|
|
117
|
|
|
116
|
|
|
118
|
ADD_TEST( NAME ${testName} COMMAND ${testName} )
|
|
117
|
ADD_TEST( NAME ${testName} COMMAND ${testName} )
|
|
119
|
|
|
118
|
|
|
120
|
SCIQLOP_COPY_TO_TARGET(RUNTIME ${testName} ${EXTERN_SHARED_LIBRARIES})
|
|
119
|
SCIQLOP_COPY_TO_TARGET(RUNTIME ${testName} ${EXTERN_SHARED_LIBRARIES})
|
|
121
|
set(Coverage_NAME ${testName})
|
|
120
|
set(Coverage_NAME ${testName})
|
|
122
|
if(UNIX)
|
|
121
|
if(UNIX)
|
|
123
|
SETUP_TARGET_FOR_COVERAGE(TARGET ${testName}_coverage OUTPUT ${testFile}-path NAME ${testFile} EXECUTABLE ${testName})
|
|
122
|
SETUP_TARGET_FOR_COVERAGE(TARGET ${testName}_coverage OUTPUT ${testFile}-path NAME ${testFile} EXECUTABLE ${testName})
|
|
124
|
LIST( APPEND TARGETS_COV ${testName}_coverage)
|
|
123
|
LIST( APPEND TARGETS_COV ${testName}_coverage)
|
|
125
|
endif(UNIX)
|
|
124
|
endif(UNIX)
|
|
126
|
|
|
125
|
|
|
127
|
ENDFOREACH( testFile )
|
|
126
|
ENDFOREACH( testFile )
|
|
128
|
|
|
127
|
|
|
129
|
add_custom_target(coverage)
|
|
128
|
add_custom_target(coverage)
|
|
130
|
|
|
129
|
|
|
131
|
FOREACH( target_cov ${TARGETS_COV} )
|
|
130
|
FOREACH( target_cov ${TARGETS_COV} )
|
|
132
|
add_custom_command(TARGET coverage PRE_BUILD COMMAND make ${target_cov})
|
|
131
|
add_custom_command(TARGET coverage PRE_BUILD COMMAND make ${target_cov})
|
|
133
|
ENDFOREACH( target_cov )
|
|
132
|
ENDFOREACH( target_cov )
|
|
134
|
|
|
133
|
|
|
135
|
LIST(APPEND testFilesToFormat ${TESTS_SOURCES})
|
|
134
|
LIST(APPEND testFilesToFormat ${TESTS_SOURCES})
|
|
136
|
LIST(APPEND testFilesToFormat ${TESTS_HEADERS})
|
|
135
|
LIST(APPEND testFilesToFormat ${TESTS_HEADERS})
|
|
137
|
LIST(APPEND FORMATTING_INPUT_FILES ${testFilesToFormat})
|
|
136
|
LIST(APPEND FORMATTING_INPUT_FILES ${testFilesToFormat})
|
|
138
|
SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
|
|
137
|
SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
|
|
139
|
|
|
138
|
|
|
140
|
ADD_DEFINITIONS(-DCORE_TESTS_RESOURCES_DIR="${TESTS_RESOURCES_DIR}")
|
|
139
|
ADD_DEFINITIONS(-DCORE_TESTS_RESOURCES_DIR="${TESTS_RESOURCES_DIR}")
|
|
141
|
ENDIF(BUILD_TESTS)
|
|
140
|
ENDIF(BUILD_TESTS)
|
|
142
|
|
|
141
|
|
|
143
|
#
|
|
142
|
#
|
|
144
|
# Set the files that must be formatted by clang-format.
|
|
143
|
# Set the files that must be formatted by clang-format.
|
|
145
|
#
|
|
144
|
#
|
|
146
|
LIST (APPEND FORMATTING_INPUT_FILES ${MODULE_SOURCES})
|
|
145
|
LIST (APPEND FORMATTING_INPUT_FILES ${MODULE_SOURCES})
|
|
147
|
SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
|
|
146
|
SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
|
|
148
|
|
|
147
|
|
|
149
|
#
|
|
148
|
#
|
|
150
|
# Set the directories that doxygen must browse to generate the
|
|
149
|
# Set the directories that doxygen must browse to generate the
|
|
151
|
# documentation.
|
|
150
|
# documentation.
|
|
152
|
#
|
|
151
|
#
|
|
153
|
# Source directories:
|
|
152
|
# Source directories:
|
|
154
|
LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
|
|
153
|
LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
|
|
155
|
LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
154
|
LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
156
|
SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
|
|
155
|
SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
|
|
157
|
# Source directories to exclude from the documentation generation
|
|
156
|
# Source directories to exclude from the documentation generation
|
|
158
|
#LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
|
|
157
|
#LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
|
|
159
|
SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)
|
|
158
|
SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)
|
|
160
|
|
|
159
|
|
|
161
|
#
|
|
160
|
#
|
|
162
|
# Set the directories with the sources to analyze and propagate the
|
|
161
|
# Set the directories with the sources to analyze and propagate the
|
|
163
|
# modification to the parent scope
|
|
162
|
# modification to the parent scope
|
|
164
|
#
|
|
163
|
#
|
|
165
|
# Source directories to analyze:
|
|
164
|
# Source directories to analyze:
|
|
166
|
LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
165
|
LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
167
|
LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
|
|
166
|
LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
|
|
168
|
SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_INPUT_DIRS)
|
|
167
|
SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_INPUT_DIRS)
|
|
169
|
# Source directories to exclude from the analysis
|
|
168
|
# Source directories to exclude from the analysis
|
|
170
|
#LIST (APPEND ANALYSIS_EXCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir")
|
|
169
|
#LIST (APPEND ANALYSIS_EXCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir")
|
|
171
|
SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_EXCLUDE_DIRS)
|
|
170
|
SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_EXCLUDE_DIRS)
|