@@ -1,57 +1,56 | |||
|
1 | 1 | # |
|
2 | 2 | # Sciqlop_modules.cmake |
|
3 | 3 | # |
|
4 | 4 | # Set ouptut directories |
|
5 | 5 | # |
|
6 |
SET (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist |
|
|
7 |
SET (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist |
|
|
6 | SET (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist) | |
|
7 | SET (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist) | |
|
8 | 8 | IF (UNIX) |
|
9 | 9 | SET (CONFIG_OUTPUT_PATH $ENV{HOME}/.config/QtProject) |
|
10 | 10 | ELSEIF(WIN32) |
|
11 |
SET (CONFIG_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist/ |
|
|
11 | SET (CONFIG_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist/app/QtProject) | |
|
12 | 12 | ELSE() |
|
13 |
SET (CONFIG_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist |
|
|
13 | SET (CONFIG_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist) | |
|
14 | 14 | ENDIF() |
|
15 | 15 | |
|
16 | INCLUDE ("cmake/sciqlop_code_coverage.cmake") | |
|
17 | ||
|
18 | 16 | if(BUILD_TESTS) |
|
17 | INCLUDE ("cmake/sciqlop_code_coverage.cmake") | |
|
19 | 18 | APPEND_COVERAGE_COMPILER_FLAGS() |
|
20 | 19 | endif(BUILD_TESTS) |
|
21 | 20 | |
|
22 | 21 | # |
|
23 | 22 | # Compile the diffents modules |
|
24 | 23 | # |
|
25 | 24 | set(sciqlop-core_DIR "${CMAKE_SOURCE_DIR}/core/cmake") |
|
26 | 25 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${sciqlop-core_DIR}") |
|
27 | 26 | ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/core") |
|
28 | 27 | |
|
29 | 28 | set(sciqlop-gui_DIR "${CMAKE_SOURCE_DIR}/gui/cmake") |
|
30 | 29 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${sciqlop-gui_DIR}") |
|
31 | 30 | ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/gui") |
|
32 | 31 | |
|
33 | 32 | ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/app") |
|
34 | 33 | |
|
35 | 34 | # LOGGER |
|
36 | 35 | set(QTLOGGING_INI_FILE "${CMAKE_SOURCE_DIR}/config/QtProject/qtlogging.ini") |
|
37 | 36 | FILE(COPY ${QTLOGGING_INI_FILE} DESTINATION ${CONFIG_OUTPUT_PATH}) |
|
38 | 37 | |
|
39 | 38 | |
|
40 | 39 | # |
|
41 | 40 | # Code formatting |
|
42 | 41 | # |
|
43 | 42 | # Vera++ exclusion files |
|
44 | 43 | LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/formatting/vera-exclusions/exclusions.txt) |
|
45 | 44 | #SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES) |
|
46 | 45 | INCLUDE ("cmake/sciqlop_formatting.cmake") |
|
47 | 46 | |
|
48 | 47 | # |
|
49 | 48 | # Documentation generation |
|
50 | 49 | # |
|
51 | 50 | INCLUDE ("cmake/sciqlop_doxygen.cmake") |
|
52 | 51 | |
|
53 | 52 | # |
|
54 | 53 | # Source code analysis |
|
55 | 54 | # |
|
56 | 55 | INCLUDE ("cmake/sciqlop_code_analysis.cmake") |
|
57 | 56 | INCLUDE ("cmake/sciqlop_code_cppcheck.cmake") |
General Comments 0
You need to be logged in to leave comments.
Login now