##// END OF EJS Templates
Merge branch 'feature/ClangAnalyserIntegration' into develop
perrinel -
r19:46949569d45d merge
parent child
Show More
@@ -2,13 +2,13
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()
@@ -8,18 +8,10 SET (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist/${CMAKE_BUILD_TYPE})
8
8
9
9
10 #
10 #
11 # Compile the core
11 # Compile the diffents modules
12 #
12 #
13 ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/sqpcore")
13 ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/sqpcore")
14
15 #
16 # Compile the gui
17 #
18 #ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/sqpgui")
14 #ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/sqpgui")
19
20 #
21 # Compile the app
22 #
23 ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/sqpapp")
15 ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/sqpapp")
24
16
25 #
17 #
@@ -59,6 +59,9 QT5_WRAP_UI(UIS_HDRS
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
@@ -27,6 +27,8 FILE (GLOB_RECURSE MODULE_SOURCES
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
@@ -44,6 +44,8 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
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