##// END OF EJS Templates
Mise à jour du cmake pour qu'il n'utilise plus les CXX_FLAGS avec un...
mperrinel -
r17:d164eec363a1
parent child
Show More
@@ -1,14 +1,14
1 #
1 #
2 # compiler.cmake : configure the compilation flags
2 # compiler.cmake : configure the compilation flags
3 #
3 #
4
4
5 message("Compiler id: ${CMAKE_CXX_COMPILER_ID}")
5 message("Compiler id: ${CMAKE_CXX_COMPILER_ID}")
6 IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
6 IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
7 INCLUDE("cmake/compiler/compiler_gnu.cmake")
7 MESSAGE("Compiler supported")
8 ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
8 ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
9 INCLUDE("cmake/compiler/compiler_gnu.cmake")
9 MESSAGE("Compiler supported")
10 ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
10 ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
11 INCLUDE("cmake/compiler/compiler_msvc.cmake")
11 INCLUDE("cmake/compiler/compiler_msvc.cmake")
12 ELSE()
12 ELSE()
13 MESSAGE(FATAL_ERROR "Compiler not supported")
13 MESSAGE(FATAL_ERROR "Compiler not supported")
14 ENDIF()
14 ENDIF()
@@ -1,141 +1,144
1
1
2 ## sciqlop - CMakeLists.txt
2 ## sciqlop - CMakeLists.txt
3 SET(EXECUTABLE_NAME "sciqlop")
3 SET(EXECUTABLE_NAME "sciqlop")
4 SET(SOURCES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/)
4 SET(SOURCES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/)
5 SET(INCLUDE_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/include)
5 SET(INCLUDE_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/include)
6 SET(UI_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/src)
6 SET(UI_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/src)
7 SET(RES_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/resources)
7 SET(RES_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/resources)
8
8
9 #
9 #
10 # Find Qt modules
10 # Find Qt modules
11 #
11 #
12 SCIQLOP_FIND_QT(Core Widgets)
12 SCIQLOP_FIND_QT(Core Widgets)
13
13
14 #
14 #
15 # Find dependent libraries
15 # Find dependent libraries
16 # ========================
16 # ========================
17 SET(LIBRARIES)
17 SET(LIBRARIES)
18 SET(EXTERN_LIBRARIES)
18 SET(EXTERN_LIBRARIES)
19 SET(EXTERN_SHARED_LIBRARIES)
19 SET(EXTERN_SHARED_LIBRARIES)
20
20
21 # Add sqpcore to the list of libraries to use
21 # Add sqpcore to the list of libraries to use
22 list(APPEND LIBRARIES ${SQPCORE_LIBRARY_NAME})
22 list(APPEND LIBRARIES ${SQPCORE_LIBRARY_NAME})
23
23
24 # Include sqpcore directory
24 # Include sqpcore directory
25 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../sqpcore/src")
25 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../sqpcore/src")
26
26
27 # Add dependent shared libraries
27 # Add dependent shared libraries
28 list(APPEND SHARED_LIBRARIES ${SQPCORE_SHARED_LIBRARIES})
28 list(APPEND SHARED_LIBRARIES ${SQPCORE_SHARED_LIBRARIES})
29
29
30 # Retrieve the location of the dynamic library to copy it to the output path
30 # Retrieve the location of the dynamic library to copy it to the output path
31 #get_property(sqpcoreLocation TARGET ${SQPCORE_LIBRARY_NAME} PROPERTY LOCATION)
31 #get_property(sqpcoreLocation TARGET ${SQPCORE_LIBRARY_NAME} PROPERTY LOCATION)
32 list(APPEND SHARED_LIBRARIES_FROM_TARGETS ${sqpcoreLocation})
32 list(APPEND SHARED_LIBRARIES_FROM_TARGETS ${sqpcoreLocation})
33
33
34 #
34 #
35 # Compile the application
35 # Compile the application
36 #
36 #
37 FILE (GLOB_RECURSE APPLICATION_SOURCES
37 FILE (GLOB_RECURSE APPLICATION_SOURCES
38 ${SOURCES_DIR}/*.c
38 ${SOURCES_DIR}/*.c
39 ${SOURCES_DIR}/*.cpp
39 ${SOURCES_DIR}/*.cpp
40 ${SOURCES_DIR}/*.h)
40 ${SOURCES_DIR}/*.h)
41
41
42 # Headers files (.h)
42 # Headers files (.h)
43 FILE (GLOB_RECURSE PROJECT_HEADERS ${INCLUDE_FOLDER}/*.h)
43 FILE (GLOB_RECURSE PROJECT_HEADERS ${INCLUDE_FOLDER}/*.h)
44
44
45 # Ui files
45 # Ui files
46 FILE (GLOB_RECURSE PROJECT_FORMS ${UI_FOLDER}/*.ui)
46 FILE (GLOB_RECURSE PROJECT_FORMS ${UI_FOLDER}/*.ui)
47
47
48 # Resources files
48 # Resources files
49 FILE (GLOB_RECURSE PROJECT_RESOURCES ${RES_FOLDER}/*.qrc)
49 FILE (GLOB_RECURSE PROJECT_RESOURCES ${RES_FOLDER}/*.qrc)
50
50
51 # Retrieve resources files
51 # Retrieve resources files
52 FILE (GLOB_RECURSE APPLICATION_RESOURCES ${RES_FOLDER}/*.qrc)
52 FILE (GLOB_RECURSE APPLICATION_RESOURCES ${RES_FOLDER}/*.qrc)
53
53
54 QT5_ADD_RESOURCES(RCC_HDRS ${APPLICATION_RESOURCES} )
54 QT5_ADD_RESOURCES(RCC_HDRS ${APPLICATION_RESOURCES} )
55
55
56 QT5_WRAP_UI(UIS_HDRS
56 QT5_WRAP_UI(UIS_HDRS
57 ${PROJECT_FORMS}
57 ${PROJECT_FORMS}
58 )
58 )
59
59
60
60
61 ADD_EXECUTABLE(${EXECUTABLE_NAME} ${APPLICATION_SOURCES} ${RCC_HDRS} ${UIS_HDRS})
61 ADD_EXECUTABLE(${EXECUTABLE_NAME} ${APPLICATION_SOURCES} ${RCC_HDRS} ${UIS_HDRS})
62 set_property(TARGET ${EXECUTABLE_NAME} PROPERTY CXX_STANDARD 14)
63 set_property(TARGET ${EXECUTABLE_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
64
62 target_link_libraries(${EXECUTABLE_NAME}
65 target_link_libraries(${EXECUTABLE_NAME}
63 ${LIBRARIES})
66 ${LIBRARIES})
64
67
65 # Link with Qt5 modules
68 # Link with Qt5 modules
66 qt5_use_modules(${EXECUTABLE_NAME} Core Widgets)
69 qt5_use_modules(${EXECUTABLE_NAME} Core Widgets)
67
70
68
71
69 # Add the files to the list of files to be analyzed
72 # Add the files to the list of files to be analyzed
70 LIST(APPEND CHECKSTYLE_INPUT_FILES ${APPLICATION_SOURCES})
73 LIST(APPEND CHECKSTYLE_INPUT_FILES ${APPLICATION_SOURCES})
71 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
74 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
72 # Vera++ exclusion files
75 # Vera++ exclusion files
73 #LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl)
76 #LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl)
74 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
77 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
75
78
76 #
79 #
77 # Compile the tests
80 # Compile the tests
78 #
81 #
79 IF(BUILD_TESTS)
82 IF(BUILD_TESTS)
80 INCLUDE_DIRECTORIES(${SOURCES_DIR})
83 INCLUDE_DIRECTORIES(${SOURCES_DIR})
81 FILE (GLOB_RECURSE TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Test*.cpp)
84 FILE (GLOB_RECURSE TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Test*.cpp)
82 FILE (GLOB_RECURSE TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Test*.h)
85 FILE (GLOB_RECURSE TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Test*.h)
83 SET( TEST_LIBRARIES ${LIBRARIES} ${EXTERN_LIBRARIES})
86 SET( TEST_LIBRARIES ${LIBRARIES} ${EXTERN_LIBRARIES})
84
87
85 FOREACH( testFile ${TESTS_SOURCES} )
88 FOREACH( testFile ${TESTS_SOURCES} )
86 GET_FILENAME_COMPONENT( testDirectory ${testFile} DIRECTORY )
89 GET_FILENAME_COMPONENT( testDirectory ${testFile} DIRECTORY )
87 GET_FILENAME_COMPONENT( testName ${testFile} NAME_WE )
90 GET_FILENAME_COMPONENT( testName ${testFile} NAME_WE )
88
91
89 # Add to the list of sources files all the sources in the same
92 # Add to the list of sources files all the sources in the same
90 # directory that aren't another test
93 # directory that aren't another test
91 FILE (GLOB currentTestSources
94 FILE (GLOB currentTestSources
92 ${testDirectory}/*.c
95 ${testDirectory}/*.c
93 ${testDirectory}/*.cpp
96 ${testDirectory}/*.cpp
94 ${testDirectory}/*.h)
97 ${testDirectory}/*.h)
95 LIST (REMOVE_ITEM currentTestSources ${TESTS_SOURCES})
98 LIST (REMOVE_ITEM currentTestSources ${TESTS_SOURCES})
96 LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS})
99 LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS})
97
100
98 ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources})
101 ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources})
99 TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES} )
102 TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES} )
100 qt5_use_modules(${testName} Test)
103 qt5_use_modules(${testName} Test)
101
104
102 ADD_TEST( NAME ${testName} COMMAND ${testName} )
105 ADD_TEST( NAME ${testName} COMMAND ${testName} )
103
106
104 SCIQLOP_COPY_TO_TARGET(RUNTIME ${testName} ${EXTERN_SHARED_LIBRARIES})
107 SCIQLOP_COPY_TO_TARGET(RUNTIME ${testName} ${EXTERN_SHARED_LIBRARIES})
105 ENDFOREACH( testFile )
108 ENDFOREACH( testFile )
106
109
107 LIST(APPEND testFilesToFormat ${TESTS_SOURCES})
110 LIST(APPEND testFilesToFormat ${TESTS_SOURCES})
108 LIST(APPEND testFilesToFormat ${TESTS_HEADERS})
111 LIST(APPEND testFilesToFormat ${TESTS_HEADERS})
109 LIST(APPEND FORMATTING_INPUT_FILES ${testFilesToFormat})
112 LIST(APPEND FORMATTING_INPUT_FILES ${testFilesToFormat})
110 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
113 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
111 ENDIF(BUILD_TESTS)
114 ENDIF(BUILD_TESTS)
112
115
113 #
116 #
114 # Set the files that must be formatted by clang-format.
117 # Set the files that must be formatted by clang-format.
115 #
118 #
116 LIST (APPEND FORMATTING_INPUT_FILES ${APPLICATION_SOURCES})
119 LIST (APPEND FORMATTING_INPUT_FILES ${APPLICATION_SOURCES})
117 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
120 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
118
121
119 #
122 #
120 # Set the directories that doxygen must browse to generate the
123 # Set the directories that doxygen must browse to generate the
121 # documentation.
124 # documentation.
122 #
125 #
123 # Source directories:
126 # Source directories:
124 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
127 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
125 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
128 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
126 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
129 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
127 # Source directories to exclude from the documentation generation
130 # Source directories to exclude from the documentation generation
128 #LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
131 #LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
129 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)
132 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)
130
133
131 #
134 #
132 # Set the directories with the sources to analyze and propagate the
135 # Set the directories with the sources to analyze and propagate the
133 # modification to the parent scope
136 # modification to the parent scope
134 #
137 #
135 # Source directories to analyze:
138 # Source directories to analyze:
136 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
139 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
137 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
140 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
138 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_INPUT_DIRS)
141 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_INPUT_DIRS)
139 # Source directories to exclude from the analysis
142 # Source directories to exclude from the analysis
140 #LIST (APPEND ANALYSIS_EXCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir")
143 #LIST (APPEND ANALYSIS_EXCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir")
141 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_EXCLUDE_DIRS)
144 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_EXCLUDE_DIRS)
@@ -1,121 +1,123
1
1
2 ## sqpcore - CMakeLists.txt
2 ## sqpcore - CMakeLists.txt
3 STRING(TOLOWER ${CMAKE_PROJECT_NAME} LIBRARY_PREFFIX)
3 STRING(TOLOWER ${CMAKE_PROJECT_NAME} LIBRARY_PREFFIX)
4 SET(SQPCORE_LIBRARY_NAME "${LIBRARY_PREFFIX}_sqpcore${DEBUG_SUFFIX}")
4 SET(SQPCORE_LIBRARY_NAME "${LIBRARY_PREFFIX}_sqpcore${DEBUG_SUFFIX}")
5 SET(SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/")
5 SET(SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/")
6
6
7 # Set a variable to display a warning in the version files.
7 # Set a variable to display a warning in the version files.
8 SET(SCIQLOP_CMAKE_GENERATION_WARNING "DON'T CHANGE THIS FILE. AUTOGENERATED BY CMAKE.")
8 SET(SCIQLOP_CMAKE_GENERATION_WARNING "DON'T CHANGE THIS FILE. AUTOGENERATED BY CMAKE.")
9 # Generate the version file from the cmake version variables. The version
9 # Generate the version file from the cmake version variables. The version
10 # variables are defined in the cmake/sciqlop_version.cmake file.
10 # variables are defined in the cmake/sciqlop_version.cmake file.
11 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/resources/Version.h.in"
11 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/resources/Version.h.in"
12 "${SOURCES_DIR}/Version.h")
12 "${SOURCES_DIR}/Version.h")
13 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/resources/Version.cpp.in"
13 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/resources/Version.cpp.in"
14 "${SOURCES_DIR}/Version.cpp")
14 "${SOURCES_DIR}/Version.cpp")
15
15
16 #
16 #
17 # Find Qt modules
17 # Find Qt modules
18 #
18 #
19 SCIQLOP_FIND_QT(Core)
19 SCIQLOP_FIND_QT(Core)
20
20
21 #
21 #
22 # Compile the library library
22 # Compile the library library
23 #
23 #
24 FILE (GLOB_RECURSE MODULE_SOURCES
24 FILE (GLOB_RECURSE MODULE_SOURCES
25 ${SOURCES_DIR}/*.c
25 ${SOURCES_DIR}/*.c
26 ${SOURCES_DIR}/*.cpp
26 ${SOURCES_DIR}/*.cpp
27 ${SOURCES_DIR}/*.h)
27 ${SOURCES_DIR}/*.h)
28
28
29 ADD_LIBRARY(${SQPCORE_LIBRARY_NAME} ${MODULE_SOURCES})
29 ADD_LIBRARY(${SQPCORE_LIBRARY_NAME} ${MODULE_SOURCES})
30 set_property(TARGET ${SQPCORE_LIBRARY_NAME} PROPERTY CXX_STANDARD 14)
31 set_property(TARGET ${SQPCORE_LIBRARY_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
30 TARGET_LINK_LIBRARIES(${SQPCORE_LIBRARY_NAME} ${EXTERN_LIBRARIES})
32 TARGET_LINK_LIBRARIES(${SQPCORE_LIBRARY_NAME} ${EXTERN_LIBRARIES})
31 qt5_use_modules(${SQPCORE_LIBRARY_NAME} Core)
33 qt5_use_modules(${SQPCORE_LIBRARY_NAME} Core)
32
34
33 # From cmake documentation: http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html
35 # From cmake documentation: http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html
34 # Entries in the COMPILE_DEFINITIONS are prefixed with -D or /D and added to the compile line in an unspecified order.
36 # Entries in the COMPILE_DEFINITIONS are prefixed with -D or /D and added to the compile line in an unspecified order.
35 # The DEFINE_SYMBOL target property is also added as a compile definition as a special convenience case for SHARED and MODULE library targets
37 # The DEFINE_SYMBOL target property is also added as a compile definition as a special convenience case for SHARED and MODULE library targets
36 IF(BUILD_SHARED_LIBS)
38 IF(BUILD_SHARED_LIBS)
37 SET_TARGET_PROPERTIES(${SQPCORE_LIBRARY_NAME} PROPERTIES COMPILE_DEFINITIONS "SCIQLOP_EXPORT")
39 SET_TARGET_PROPERTIES(${SQPCORE_LIBRARY_NAME} PROPERTIES COMPILE_DEFINITIONS "SCIQLOP_EXPORT")
38 ELSE()
40 ELSE()
39 TARGET_COMPILE_DEFINITIONS(${SQPCORE_LIBRARY_NAME} PUBLIC "SCIQLOP_STATIC_LIBRARIES")
41 TARGET_COMPILE_DEFINITIONS(${SQPCORE_LIBRARY_NAME} PUBLIC "SCIQLOP_STATIC_LIBRARIES")
40 ENDIF()
42 ENDIF()
41
43
42 # Set the variable to parent scope so that the other projects can copy the
44 # Set the variable to parent scope so that the other projects can copy the
43 # dependent shared libraries
45 # dependent shared libraries
44 SCIQLOP_SET_TO_PARENT_SCOPE(SQPCORE_LIBRARY_NAME)
46 SCIQLOP_SET_TO_PARENT_SCOPE(SQPCORE_LIBRARY_NAME)
45
47
46 # Copy extern shared libraries to the lib folder
48 # Copy extern shared libraries to the lib folder
47 SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${EXTERN_SHARED_LIBRARIES})
49 SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPCORE_LIBRARY_NAME} ${EXTERN_SHARED_LIBRARIES})
48
50
49 # Add the files to the list of files to be analyzed
51 # Add the files to the list of files to be analyzed
50 LIST(APPEND CHECKSTYLE_INPUT_FILES ${MODULE_SOURCES})
52 LIST(APPEND CHECKSTYLE_INPUT_FILES ${MODULE_SOURCES})
51 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
53 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
52 # Vera++ exclusion files
54 # Vera++ exclusion files
53 #LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl)
55 #LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl)
54 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
56 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
55
57
56 #
58 #
57 # Compile the tests
59 # Compile the tests
58 #
60 #
59 IF(BUILD_TESTS)
61 IF(BUILD_TESTS)
60 INCLUDE_DIRECTORIES(${SOURCES_DIR})
62 INCLUDE_DIRECTORIES(${SOURCES_DIR})
61 FILE (GLOB_RECURSE TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Test*.cpp)
63 FILE (GLOB_RECURSE TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Test*.cpp)
62 FILE (GLOB_RECURSE TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Test*.h)
64 FILE (GLOB_RECURSE TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Test*.h)
63 SET( TEST_LIBRARIES ${SQPCORE_LIBRARY_NAME} ${EXTERN_LIBRARIES})
65 SET( TEST_LIBRARIES ${SQPCORE_LIBRARY_NAME} ${EXTERN_LIBRARIES})
64
66
65 FOREACH( testFile ${TESTS_SOURCES} )
67 FOREACH( testFile ${TESTS_SOURCES} )
66 GET_FILENAME_COMPONENT( testDirectory ${testFile} DIRECTORY )
68 GET_FILENAME_COMPONENT( testDirectory ${testFile} DIRECTORY )
67 GET_FILENAME_COMPONENT( testName ${testFile} NAME_WE )
69 GET_FILENAME_COMPONENT( testName ${testFile} NAME_WE )
68
70
69 # Add to the list of sources files all the sources in the same
71 # Add to the list of sources files all the sources in the same
70 # directory that aren't another test
72 # directory that aren't another test
71 FILE (GLOB currentTestSources
73 FILE (GLOB currentTestSources
72 ${testDirectory}/*.c
74 ${testDirectory}/*.c
73 ${testDirectory}/*.cpp
75 ${testDirectory}/*.cpp
74 ${testDirectory}/*.h)
76 ${testDirectory}/*.h)
75 LIST (REMOVE_ITEM currentTestSources ${TESTS_SOURCES})
77 LIST (REMOVE_ITEM currentTestSources ${TESTS_SOURCES})
76 LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS})
78 LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS})
77
79
78 ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources})
80 ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources})
79 TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES} )
81 TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES} )
80 qt5_use_modules(${testName} Test)
82 qt5_use_modules(${testName} Test)
81
83
82 ADD_TEST( NAME ${testName} COMMAND ${testName} )
84 ADD_TEST( NAME ${testName} COMMAND ${testName} )
83
85
84 SCIQLOP_COPY_TO_TARGET(RUNTIME ${testName} ${EXTERN_SHARED_LIBRARIES})
86 SCIQLOP_COPY_TO_TARGET(RUNTIME ${testName} ${EXTERN_SHARED_LIBRARIES})
85 ENDFOREACH( testFile )
87 ENDFOREACH( testFile )
86
88
87 LIST(APPEND testFilesToFormat ${TESTS_SOURCES})
89 LIST(APPEND testFilesToFormat ${TESTS_SOURCES})
88 LIST(APPEND testFilesToFormat ${TESTS_HEADERS})
90 LIST(APPEND testFilesToFormat ${TESTS_HEADERS})
89 LIST(APPEND FORMATTING_INPUT_FILES ${testFilesToFormat})
91 LIST(APPEND FORMATTING_INPUT_FILES ${testFilesToFormat})
90 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
92 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
91 ENDIF(BUILD_TESTS)
93 ENDIF(BUILD_TESTS)
92
94
93 #
95 #
94 # Set the files that must be formatted by clang-format.
96 # Set the files that must be formatted by clang-format.
95 #
97 #
96 LIST (APPEND FORMATTING_INPUT_FILES ${MODULE_SOURCES})
98 LIST (APPEND FORMATTING_INPUT_FILES ${MODULE_SOURCES})
97 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
99 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
98
100
99 #
101 #
100 # Set the directories that doxygen must browse to generate the
102 # Set the directories that doxygen must browse to generate the
101 # documentation.
103 # documentation.
102 #
104 #
103 # Source directories:
105 # Source directories:
104 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
106 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
105 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
107 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
106 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
108 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
107 # Source directories to exclude from the documentation generation
109 # Source directories to exclude from the documentation generation
108 #LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
110 #LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
109 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)
111 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)
110
112
111 #
113 #
112 # Set the directories with the sources to analyze and propagate the
114 # Set the directories with the sources to analyze and propagate the
113 # modification to the parent scope
115 # modification to the parent scope
114 #
116 #
115 # Source directories to analyze:
117 # Source directories to analyze:
116 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
118 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
117 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
119 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
118 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_INPUT_DIRS)
120 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_INPUT_DIRS)
119 # Source directories to exclude from the analysis
121 # Source directories to exclude from the analysis
120 #LIST (APPEND ANALYSIS_EXCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir")
122 #LIST (APPEND ANALYSIS_EXCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir")
121 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_EXCLUDE_DIRS)
123 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_EXCLUDE_DIRS)
@@ -1,138 +1,140
1
1
2 ## sqpgui - CMakeLists.txt
2 ## sqpgui - CMakeLists.txt
3 STRING(TOLOWER ${CMAKE_PROJECT_NAME} LIBRARY_PREFFIX)
3 STRING(TOLOWER ${CMAKE_PROJECT_NAME} LIBRARY_PREFFIX)
4 SET(SQPGUI_LIBRARY_NAME "${LIBRARY_PREFFIX}_sqpgui${DEBUG_SUFFIX}")
4 SET(SQPGUI_LIBRARY_NAME "${LIBRARY_PREFFIX}_sqpgui${DEBUG_SUFFIX}")
5 SET(SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src")
5 SET(SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src")
6 SET(INCLUDE_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/include)
6 SET(INCLUDE_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/include)
7 SET(UI_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/ui)
7 SET(UI_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/ui)
8 SET(RES_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/resources)
8 SET(RES_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/resources)
9
9
10 # Set a variable to display a warning in the version files.
10 # Set a variable to display a warning in the version files.
11 SET(SCIQLOP_CMAKE_GENERATION_WARNING "DON'T CHANGE THIS FILE. AUTOGENERATED BY CMAKE.")
11 SET(SCIQLOP_CMAKE_GENERATION_WARNING "DON'T CHANGE THIS FILE. AUTOGENERATED BY CMAKE.")
12
12
13 #
13 #
14 # Find Qt modules
14 # Find Qt modules
15 #
15 #
16 SCIQLOP_FIND_QT(Core Widgets)
16 SCIQLOP_FIND_QT(Core Widgets)
17
17
18 #
18 #
19 # Compile the library library
19 # Compile the library library
20 #
20 #
21 FILE (GLOB_RECURSE MODULE_SOURCES
21 FILE (GLOB_RECURSE MODULE_SOURCES
22 ${SOURCES_DIR}/*.c
22 ${SOURCES_DIR}/*.c
23 ${SOURCES_DIR}/*.cpp
23 ${SOURCES_DIR}/*.cpp
24 ${SOURCES_DIR}/*.h)
24 ${SOURCES_DIR}/*.h)
25
25
26 # Headers files (.h)
26 # Headers files (.h)
27 FILE (GLOB_RECURSE PROJECT_HEADERS ${INCLUDE_FOLDER}/*.h)
27 FILE (GLOB_RECURSE PROJECT_HEADERS ${INCLUDE_FOLDER}/*.h)
28
28
29 # Ui files
29 # Ui files
30 FILE (GLOB_RECURSE PROJECT_FORMS ${UI_FOLDER}/*.ui)
30 FILE (GLOB_RECURSE PROJECT_FORMS ${UI_FOLDER}/*.ui)
31
31
32 # Resources files
32 # Resources files
33 FILE (GLOB_RECURSE PROJECT_RESOURCES ${RES_FOLDER}/*.qrc)
33 FILE (GLOB_RECURSE PROJECT_RESOURCES ${RES_FOLDER}/*.qrc)
34
34
35 QT5_ADD_RESOURCES(RCC_HDRS
35 QT5_ADD_RESOURCES(RCC_HDRS
36 ${PROJECT_RESOURCES}
36 ${PROJECT_RESOURCES}
37 )
37 )
38
38
39 QT5_WRAP_UI(UIS_HDRS
39 QT5_WRAP_UI(UIS_HDRS
40 ${PROJECT_FORMS}
40 ${PROJECT_FORMS}
41 )
41 )
42
42
43 include_directories("${CMAKE_CURRENT_BINARY_DIR}")
43 include_directories("${CMAKE_CURRENT_BINARY_DIR}")
44 message(CURRENT INCLUDE : ${CMAKE_CURRENT_BINARY_DIR})
44 message(CURRENT INCLUDE : ${CMAKE_CURRENT_BINARY_DIR})
45
45
46 ADD_LIBRARY(${SQPGUI_LIBRARY_NAME} ${MODULE_SOURCES} ${UIS_HDRS})
46 ADD_LIBRARY(${SQPGUI_LIBRARY_NAME} ${MODULE_SOURCES} ${UIS_HDRS})
47 set_property(TARGET ${SQPGUI_LIBRARY_NAME} PROPERTY CXX_STANDARD 14)
48 set_property(TARGET ${SQPGUI_LIBRARY_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
47 TARGET_LINK_LIBRARIES(${SQPGUI_LIBRARY_NAME} ${EXTERN_LIBRARIES})
49 TARGET_LINK_LIBRARIES(${SQPGUI_LIBRARY_NAME} ${EXTERN_LIBRARIES})
48 qt5_use_modules(${SQPGUI_LIBRARY_NAME} Core Widgets)
50 qt5_use_modules(${SQPGUI_LIBRARY_NAME} Core Widgets)
49
51
50 # From cmake documentation: http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html
52 # From cmake documentation: http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html
51 # Entries in the COMPILE_DEFINITIONS are prefixed with -D or /D and added to the compile line in an unspecified order.
53 # Entries in the COMPILE_DEFINITIONS are prefixed with -D or /D and added to the compile line in an unspecified order.
52 # The DEFINE_SYMBOL target property is also added as a compile definition as a special convenience case for SHARED and MODULE library targets
54 # The DEFINE_SYMBOL target property is also added as a compile definition as a special convenience case for SHARED and MODULE library targets
53 IF(BUILD_SHARED_LIBS)
55 IF(BUILD_SHARED_LIBS)
54 SET_TARGET_PROPERTIES(${SQPGUI_LIBRARY_NAME} PROPERTIES COMPILE_DEFINITIONS "SCIQLOP_EXPORT")
56 SET_TARGET_PROPERTIES(${SQPGUI_LIBRARY_NAME} PROPERTIES COMPILE_DEFINITIONS "SCIQLOP_EXPORT")
55 ELSE()
57 ELSE()
56 TARGET_COMPILE_DEFINITIONS(${SQPGUI_LIBRARY_NAME} PUBLIC "SCIQLOP_STATIC_LIBRARIES")
58 TARGET_COMPILE_DEFINITIONS(${SQPGUI_LIBRARY_NAME} PUBLIC "SCIQLOP_STATIC_LIBRARIES")
57 ENDIF()
59 ENDIF()
58
60
59 # Set the variable to parent scope so that the other projects can copy the
61 # Set the variable to parent scope so that the other projects can copy the
60 # dependent shared libraries
62 # dependent shared libraries
61 SCIQLOP_SET_TO_PARENT_SCOPE(SQPGUI_LIBRARY_NAME)
63 SCIQLOP_SET_TO_PARENT_SCOPE(SQPGUI_LIBRARY_NAME)
62
64
63 # Copy extern shared libraries to the lib folder
65 # Copy extern shared libraries to the lib folder
64 SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPGUI_LIBRARY_NAME} ${EXTERN_SHARED_LIBRARIES})
66 SCIQLOP_COPY_TO_TARGET(LIBRARY ${SQPGUI_LIBRARY_NAME} ${EXTERN_SHARED_LIBRARIES})
65
67
66 # Add the files to the list of files to be analyzed
68 # Add the files to the list of files to be analyzed
67 LIST(APPEND CHECKSTYLE_INPUT_FILES ${MODULE_SOURCES})
69 LIST(APPEND CHECKSTYLE_INPUT_FILES ${MODULE_SOURCES})
68 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
70 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
69 # Vera++ exclusion files
71 # Vera++ exclusion files
70 #LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl)
72 #LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl)
71 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
73 SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
72
74
73 #
75 #
74 # Compile the tests
76 # Compile the tests
75 #
77 #
76 IF(BUILD_TESTS)
78 IF(BUILD_TESTS)
77 INCLUDE_DIRECTORIES(${SOURCES_DIR})
79 INCLUDE_DIRECTORIES(${SOURCES_DIR})
78 FILE (GLOB_RECURSE TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Test*.cpp)
80 FILE (GLOB_RECURSE TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Test*.cpp)
79 FILE (GLOB_RECURSE TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Test*.h)
81 FILE (GLOB_RECURSE TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Test*.h)
80 SET( TEST_LIBRARIES ${SQPGUI_LIBRARY_NAME} ${EXTERN_LIBRARIES})
82 SET( TEST_LIBRARIES ${SQPGUI_LIBRARY_NAME} ${EXTERN_LIBRARIES})
81
83
82 FOREACH( testFile ${TESTS_SOURCES} )
84 FOREACH( testFile ${TESTS_SOURCES} )
83 GET_FILENAME_COMPONENT( testDirectory ${testFile} DIRECTORY )
85 GET_FILENAME_COMPONENT( testDirectory ${testFile} DIRECTORY )
84 GET_FILENAME_COMPONENT( testName ${testFile} NAME_WE )
86 GET_FILENAME_COMPONENT( testName ${testFile} NAME_WE )
85
87
86 # Add to the list of sources files all the sources in the same
88 # Add to the list of sources files all the sources in the same
87 # directory that aren't another test
89 # directory that aren't another test
88 FILE (GLOB currentTestSources
90 FILE (GLOB currentTestSources
89 ${testDirectory}/*.c
91 ${testDirectory}/*.c
90 ${testDirectory}/*.cpp
92 ${testDirectory}/*.cpp
91 ${testDirectory}/*.h)
93 ${testDirectory}/*.h)
92 LIST (REMOVE_ITEM currentTestSources ${TESTS_SOURCES})
94 LIST (REMOVE_ITEM currentTestSources ${TESTS_SOURCES})
93 LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS})
95 LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS})
94
96
95 ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources})
97 ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources})
96 TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES} )
98 TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES} )
97 qt5_use_modules(${testName} Test)
99 qt5_use_modules(${testName} Test)
98
100
99 ADD_TEST( NAME ${testName} COMMAND ${testName} )
101 ADD_TEST( NAME ${testName} COMMAND ${testName} )
100
102
101 SCIQLOP_COPY_TO_TARGET(RUNTIME ${testName} ${EXTERN_SHARED_LIBRARIES})
103 SCIQLOP_COPY_TO_TARGET(RUNTIME ${testName} ${EXTERN_SHARED_LIBRARIES})
102 ENDFOREACH( testFile )
104 ENDFOREACH( testFile )
103
105
104 LIST(APPEND testFilesToFormat ${TESTS_SOURCES})
106 LIST(APPEND testFilesToFormat ${TESTS_SOURCES})
105 LIST(APPEND testFilesToFormat ${TESTS_HEADERS})
107 LIST(APPEND testFilesToFormat ${TESTS_HEADERS})
106 LIST(APPEND FORMATTING_INPUT_FILES ${testFilesToFormat})
108 LIST(APPEND FORMATTING_INPUT_FILES ${testFilesToFormat})
107 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
109 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
108 ENDIF(BUILD_TESTS)
110 ENDIF(BUILD_TESTS)
109
111
110 #
112 #
111 # Set the files that must be formatted by clang-format.
113 # Set the files that must be formatted by clang-format.
112 #
114 #
113 LIST (APPEND FORMATTING_INPUT_FILES ${MODULE_SOURCES})
115 LIST (APPEND FORMATTING_INPUT_FILES ${MODULE_SOURCES})
114 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
116 SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
115
117
116 #
118 #
117 # Set the directories that doxygen must browse to generate the
119 # Set the directories that doxygen must browse to generate the
118 # documentation.
120 # documentation.
119 #
121 #
120 # Source directories:
122 # Source directories:
121 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
123 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
122 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
124 LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
123 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
125 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
124 # Source directories to exclude from the documentation generation
126 # Source directories to exclude from the documentation generation
125 #LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
127 #LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
126 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)
128 SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)
127
129
128 #
130 #
129 # Set the directories with the sources to analyze and propagate the
131 # Set the directories with the sources to analyze and propagate the
130 # modification to the parent scope
132 # modification to the parent scope
131 #
133 #
132 # Source directories to analyze:
134 # Source directories to analyze:
133 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
135 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
134 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
136 LIST (APPEND ANALYSIS_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
135 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_INPUT_DIRS)
137 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_INPUT_DIRS)
136 # Source directories to exclude from the analysis
138 # Source directories to exclude from the analysis
137 #LIST (APPEND ANALYSIS_EXCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir")
139 #LIST (APPEND ANALYSIS_EXCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir")
138 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_EXCLUDE_DIRS)
140 SCIQLOP_SET_TO_PARENT_SCOPE(ANALYSIS_EXCLUDE_DIRS)
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now