@@ -0,0 +1,1 | |||||
|
1 | Subproject commit f2fa281306099e7136a288dd70fd97d0e33afa15 |
@@ -0,0 +1,4 | |||||
|
1 | [wrap-git] | |||
|
2 | directory=libcatalogs | |||
|
3 | url=https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/SciQLOP_Repos/libcatalogs.git | |||
|
4 | revision=master |
@@ -1,3 +1,6 | |||||
1 | [submodule "external/CatalogueAPI"] |
|
1 | [submodule "external/CatalogueAPI"] | |
2 | path = external/CatalogueAPI |
|
2 | path = external/CatalogueAPI | |
3 | url = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/USERS/JEANDET/CatalogueAPI |
|
3 | url = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/USERS/JEANDET/CatalogueAPI | |
|
4 | [submodule "external/libcatalogs"] | |||
|
5 | path = external/libcatalogs | |||
|
6 | url = https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/SciQLOP_Repos/libcatalogs |
@@ -1,62 +1,62 | |||||
1 | cmake_minimum_required(VERSION 3.6) |
|
1 | cmake_minimum_required(VERSION 3.6) | |
2 | project(SciQLOP CXX) |
|
2 | project(SciQLOP CXX) | |
3 |
|
3 | |||
4 | include(GNUInstallDirs) |
|
4 | include(GNUInstallDirs) | |
5 |
|
5 | |||
6 | SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/cmake") |
|
6 | SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/cmake") | |
7 |
|
7 | |||
8 | OPTION (CPPCHECK "Analyzes the source code with cppcheck" OFF) |
|
8 | OPTION (CPPCHECK "Analyzes the source code with cppcheck" OFF) | |
9 | OPTION (CLANG_TIDY "Analyzes the source code with Clang Tidy" OFF) |
|
9 | OPTION (CLANG_TIDY "Analyzes the source code with Clang Tidy" OFF) | |
10 | OPTION (IWYU "Analyzes the source code with Include What You Use" OFF) |
|
10 | OPTION (IWYU "Analyzes the source code with Include What You Use" OFF) | |
11 |
|
11 | |||
12 | set(CMAKE_CXX_STANDARD 14) |
|
12 | set(CMAKE_CXX_STANDARD 14) | |
13 |
|
13 | |||
14 | set(CMAKE_AUTOMOC ON) |
|
14 | set(CMAKE_AUTOMOC ON) | |
15 | #https://gitlab.kitware.com/cmake/cmake/issues/15227 |
|
15 | #https://gitlab.kitware.com/cmake/cmake/issues/15227 | |
16 | #set(CMAKE_AUTOUIC ON) |
|
16 | #set(CMAKE_AUTOUIC ON) | |
17 | if(POLICY CMP0071) |
|
17 | if(POLICY CMP0071) | |
18 | cmake_policy(SET CMP0071 OLD) |
|
18 | cmake_policy(SET CMP0071 OLD) | |
19 | endif() |
|
19 | endif() | |
20 | set(CMAKE_AUTORCC ON) |
|
20 | set(CMAKE_AUTORCC ON) | |
21 | set(CMAKE_INCLUDE_CURRENT_DIR ON) |
|
21 | set(CMAKE_INCLUDE_CURRENT_DIR ON) | |
22 |
|
22 | |||
23 | if(NOT DEFINED CMAKE_INSTALL_RPATH_USE_LINK_PATH) |
|
23 | if(NOT DEFINED CMAKE_INSTALL_RPATH_USE_LINK_PATH) | |
24 | set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) |
|
24 | set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) | |
25 | endif() |
|
25 | endif() | |
26 | if(NOT DEFINED CMAKE_MACOSX_RPATH) |
|
26 | if(NOT DEFINED CMAKE_MACOSX_RPATH) | |
27 | set(CMAKE_MACOSX_RPATH TRUE) |
|
27 | set(CMAKE_MACOSX_RPATH TRUE) | |
28 | endif() |
|
28 | endif() | |
29 |
|
29 | |||
30 | if(NOT CMAKE_BUILD_TYPE) |
|
30 | if(NOT CMAKE_BUILD_TYPE) | |
31 | set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE) |
|
31 | set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE) | |
32 | endif() |
|
32 | endif() | |
33 |
|
33 | |||
34 | find_package(Qt5 COMPONENTS Core Widgets Network PrintSupport Svg Test REQUIRED) |
|
34 | find_package(Qt5 COMPONENTS Core Widgets Network PrintSupport Svg Test REQUIRED) | |
35 |
|
35 | |||
36 | IF(CPPCHECK) |
|
36 | IF(CPPCHECK) | |
37 | set(CMAKE_CXX_CPPCHECK "cppcheck;--enable=warning,style") |
|
37 | set(CMAKE_CXX_CPPCHECK "cppcheck;--enable=warning,style") | |
38 | ENDIF(CPPCHECK) |
|
38 | ENDIF(CPPCHECK) | |
39 |
|
39 | |||
40 | IF(CLANG_TIDY) |
|
40 | IF(CLANG_TIDY) | |
41 | set(CMAKE_CXX_CLANG_TIDY "clang-tidy;-style=file;-checks=*") |
|
41 | set(CMAKE_CXX_CLANG_TIDY "clang-tidy;-style=file;-checks=*") | |
42 | ENDIF(CLANG_TIDY) |
|
42 | ENDIF(CLANG_TIDY) | |
43 |
|
43 | |||
44 | IF(IWYU) |
|
44 | IF(IWYU) | |
45 | set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE "include-what-you-use") |
|
45 | set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE "include-what-you-use") | |
46 | ENDIF(IWYU) |
|
46 | ENDIF(IWYU) | |
47 |
|
47 | |||
48 | enable_testing() |
|
48 | enable_testing() | |
49 |
|
49 | |||
50 |
|
50 | |||
51 |
find_package( |
|
51 | find_package(catalogs CONFIG QUIET) | |
52 | if (NOT CatalogueAPI_FOUND) |
|
52 | if (NOT CatalogueAPI_FOUND) | |
53 |
execute_process(COMMAND git submodule init external/ |
|
53 | execute_process(COMMAND git submodule init external/libcatalogs WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) | |
54 |
execute_process(COMMAND git submodule update external/ |
|
54 | execute_process(COMMAND git submodule update external/libcatalogs WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) | |
55 |
add_subdirectory(external/ |
|
55 | add_subdirectory(external/libcatalogs) | |
56 | endif() |
|
56 | endif() | |
57 |
|
57 | |||
58 | add_subdirectory(core) |
|
58 | add_subdirectory(core) | |
59 | add_subdirectory(gui) |
|
59 | add_subdirectory(gui) | |
60 | add_subdirectory(app) |
|
60 | add_subdirectory(app) | |
61 | add_subdirectory(plugins) |
|
61 | add_subdirectory(plugins) | |
62 | add_subdirectory(docs) |
|
62 | add_subdirectory(docs) |
@@ -1,31 +1,31 | |||||
1 | FILE (GLOB_RECURSE core_SRCS |
|
1 | FILE (GLOB_RECURSE core_SRCS | |
2 | include/*.h |
|
2 | include/*.h | |
3 | src/*.cpp |
|
3 | src/*.cpp | |
4 | ) |
|
4 | ) | |
5 |
|
5 | |||
6 | add_definitions(-DCORE_STATIC) |
|
6 | add_definitions(-DCORE_STATIC) | |
7 |
|
7 | |||
8 | add_library(sciqlopcore ${core_SRCS}) |
|
8 | add_library(sciqlopcore ${core_SRCS}) | |
9 | SET_TARGET_PROPERTIES(sciqlopcore PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE) |
|
9 | SET_TARGET_PROPERTIES(sciqlopcore PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE) | |
10 |
|
10 | |||
11 | target_include_directories(sciqlopcore PUBLIC |
|
11 | target_include_directories(sciqlopcore PUBLIC | |
12 | $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
|
12 | $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | |
13 | $<INSTALL_INTERFACE:include/SciQLOP> |
|
13 | $<INSTALL_INTERFACE:include/SciQLOP> | |
14 | ) |
|
14 | ) | |
15 |
|
15 | |||
16 | target_link_libraries(sciqlopcore PUBLIC |
|
16 | target_link_libraries(sciqlopcore PUBLIC | |
17 | Qt5::Core |
|
17 | Qt5::Core | |
18 | Qt5::Network |
|
18 | Qt5::Network | |
19 |
|
|
19 | catalogs | |
20 | ) |
|
20 | ) | |
21 |
|
21 | |||
22 | install(TARGETS sciqlopcore EXPORT SciQLOPCoreConfig |
|
22 | install(TARGETS sciqlopcore EXPORT SciQLOPCoreConfig | |
23 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
|
23 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | |
24 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
|
24 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | |
25 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) |
|
25 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) | |
26 |
|
26 | |||
27 | install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/SciQLOP) |
|
27 | install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/SciQLOP) | |
28 | install(EXPORT SciQLOPCoreConfig DESTINATION share/SciQLOPCore/cmake) |
|
28 | install(EXPORT SciQLOPCoreConfig DESTINATION share/SciQLOPCore/cmake) | |
29 | export(TARGETS sciqlopcore FILE SciQLOPCoreConfig.cmake) |
|
29 | export(TARGETS sciqlopcore FILE SciQLOPCoreConfig.cmake) | |
30 |
|
30 | |||
31 | add_subdirectory(tests) |
|
31 | add_subdirectory(tests) |
@@ -1,75 +1,75 | |||||
1 |
|
1 | |||
2 | qxorm_dep = dependency('QxOrm', required : true, fallback:['QxOrm','qxorm_dep']) |
|
2 | qxorm_dep = dependency('QxOrm', required : true, fallback:['QxOrm','qxorm_dep']) | |
3 |
catalog |
|
3 | libcatalogs_dep = dependency('libcatalogs', required : true, fallback:['libcatalogs','libcatalogs_dep']) | |
4 |
|
4 | |||
5 |
|
5 | |||
6 | core_moc_headers = [ |
|
6 | core_moc_headers = [ | |
7 | 'include/Catalogue/CatalogueController.h', |
|
7 | 'include/Catalogue/CatalogueController.h', | |
8 | 'include/Common/SignalWaiter.h', |
|
8 | 'include/Common/SignalWaiter.h', | |
9 | 'include/Data/IDataProvider.h', |
|
9 | 'include/Data/IDataProvider.h', | |
10 | 'include/DataSource/DataSourceController.h', |
|
10 | 'include/DataSource/DataSourceController.h', | |
11 | 'include/DataSource/DataSourceItemAction.h', |
|
11 | 'include/DataSource/DataSourceItemAction.h', | |
12 | 'include/Network/NetworkController.h', |
|
12 | 'include/Network/NetworkController.h', | |
13 | 'include/Time/TimeController.h', |
|
13 | 'include/Time/TimeController.h', | |
14 | 'include/Variable/Variable.h', |
|
14 | 'include/Variable/Variable.h', | |
15 | 'include/Variable/VariableCacheController.h', |
|
15 | 'include/Variable/VariableCacheController.h', | |
16 | 'include/Variable/VariableController.h', |
|
16 | 'include/Variable/VariableController.h', | |
17 | 'include/Variable/VariableAcquisitionWorker.h', |
|
17 | 'include/Variable/VariableAcquisitionWorker.h', | |
18 | 'include/Variable/VariableSynchronizationGroup.h', |
|
18 | 'include/Variable/VariableSynchronizationGroup.h', | |
19 | 'include/Variable/VariableModel.h', |
|
19 | 'include/Variable/VariableModel.h', | |
20 | 'include/Visualization/VisualizationController.h' |
|
20 | 'include/Visualization/VisualizationController.h' | |
21 | ] |
|
21 | ] | |
22 |
|
22 | |||
23 |
|
23 | |||
24 | core_moc_files = qt5.preprocess(moc_headers : core_moc_headers) |
|
24 | core_moc_files = qt5.preprocess(moc_headers : core_moc_headers) | |
25 |
|
25 | |||
26 | core_sources = [ |
|
26 | core_sources = [ | |
27 | 'src/Common/DateUtils.cpp', |
|
27 | 'src/Common/DateUtils.cpp', | |
28 | 'src/Common/SignalWaiter.cpp', |
|
28 | 'src/Common/SignalWaiter.cpp', | |
29 | 'src/Common/StringUtils.cpp', |
|
29 | 'src/Common/StringUtils.cpp', | |
30 | 'src/Common/MimeTypesDef.cpp', |
|
30 | 'src/Common/MimeTypesDef.cpp', | |
31 | 'src/Catalogue/CatalogueController.cpp', |
|
31 | 'src/Catalogue/CatalogueController.cpp', | |
32 | 'src/Data/ScalarSeries.cpp', |
|
32 | 'src/Data/ScalarSeries.cpp', | |
33 | 'src/Data/SpectrogramSeries.cpp', |
|
33 | 'src/Data/SpectrogramSeries.cpp', | |
34 | 'src/Data/DataSeriesIterator.cpp', |
|
34 | 'src/Data/DataSeriesIterator.cpp', | |
35 | 'src/Data/ArrayDataIterator.cpp', |
|
35 | 'src/Data/ArrayDataIterator.cpp', | |
36 | 'src/Data/VectorSeries.cpp', |
|
36 | 'src/Data/VectorSeries.cpp', | |
37 | 'src/Data/OptionalAxis.cpp', |
|
37 | 'src/Data/OptionalAxis.cpp', | |
38 | 'src/Data/DataSeriesUtils.cpp', |
|
38 | 'src/Data/DataSeriesUtils.cpp', | |
39 | 'src/DataSource/DataSourceController.cpp', |
|
39 | 'src/DataSource/DataSourceController.cpp', | |
40 | 'src/DataSource/DataSourceItem.cpp', |
|
40 | 'src/DataSource/DataSourceItem.cpp', | |
41 | 'src/DataSource/DataSourceItemAction.cpp', |
|
41 | 'src/DataSource/DataSourceItemAction.cpp', | |
42 | 'src/DataSource/DataSourceItemMergeHelper.cpp', |
|
42 | 'src/DataSource/DataSourceItemMergeHelper.cpp', | |
43 | 'src/Network/NetworkController.cpp', |
|
43 | 'src/Network/NetworkController.cpp', | |
44 | 'src/PluginManager/PluginManager.cpp', |
|
44 | 'src/PluginManager/PluginManager.cpp', | |
45 | 'src/Settings/SqpSettingsDefs.cpp', |
|
45 | 'src/Settings/SqpSettingsDefs.cpp', | |
46 | 'src/Time/TimeController.cpp', |
|
46 | 'src/Time/TimeController.cpp', | |
47 | 'src/Variable/Variable.cpp', |
|
47 | 'src/Variable/Variable.cpp', | |
48 | 'src/Variable/VariableCacheController.cpp', |
|
48 | 'src/Variable/VariableCacheController.cpp', | |
49 | 'src/Variable/VariableController.cpp', |
|
49 | 'src/Variable/VariableController.cpp', | |
50 | 'src/Variable/VariableAcquisitionWorker.cpp', |
|
50 | 'src/Variable/VariableAcquisitionWorker.cpp', | |
51 | 'src/Variable/VariableSynchronizationGroup.cpp', |
|
51 | 'src/Variable/VariableSynchronizationGroup.cpp', | |
52 | 'src/Variable/VariableModel.cpp', |
|
52 | 'src/Variable/VariableModel.cpp', | |
53 | 'src/Visualization/VisualizationController.cpp' |
|
53 | 'src/Visualization/VisualizationController.cpp' | |
54 | ] |
|
54 | ] | |
55 |
|
55 | |||
56 | core_inc = include_directories(['include', 'include/Plugin']) |
|
56 | core_inc = include_directories(['include', 'include/Plugin']) | |
57 |
|
57 | |||
58 | sciqlop_core_lib = library('sciqlopcore', |
|
58 | sciqlop_core_lib = library('sciqlopcore', | |
59 | core_sources, |
|
59 | core_sources, | |
60 | core_moc_files, |
|
60 | core_moc_files, | |
61 | cpp_args : '-DCORE_LIB', |
|
61 | cpp_args : '-DCORE_LIB', | |
62 | include_directories : core_inc, |
|
62 | include_directories : core_inc, | |
63 |
dependencies : [qt5core, qt5network, catalog |
|
63 | dependencies : [qt5core, qt5network, libcatalogs_dep], | |
64 | install : true |
|
64 | install : true | |
65 | ) |
|
65 | ) | |
66 |
|
66 | |||
67 |
|
67 | |||
68 | sciqlop_core = declare_dependency(link_with : sciqlop_core_lib, |
|
68 | sciqlop_core = declare_dependency(link_with : sciqlop_core_lib, | |
69 | include_directories : core_inc, |
|
69 | include_directories : core_inc, | |
70 |
dependencies : [qt5core, qt5network, catalog |
|
70 | dependencies : [qt5core, qt5network, libcatalogs_dep]) | |
71 |
|
71 | |||
72 |
|
72 | |||
73 |
|
73 | |||
74 | subdir('tests') |
|
74 | subdir('tests') | |
75 |
|
75 |
@@ -1,147 +1,145 | |||||
1 | qxorm_dep = dependency('QxOrm', required : true, fallback:['QxOrm','qxorm_dep']) |
|
|||
2 | catalogueapi_dep = dependency('CatalogueAPI', required : true, fallback:['CatalogueAPI','CatalogueAPI_dep']) |
|
|||
3 |
|
1 | |||
4 | gui_moc_headers = [ |
|
2 | gui_moc_headers = [ | |
5 | 'include/DataSource/DataSourceWidget.h', |
|
3 | 'include/DataSource/DataSourceWidget.h', | |
6 | 'include/Settings/SqpSettingsDialog.h', |
|
4 | 'include/Settings/SqpSettingsDialog.h', | |
7 | 'include/Settings/SqpSettingsGeneralWidget.h', |
|
5 | 'include/Settings/SqpSettingsGeneralWidget.h', | |
8 | 'include/SidePane/SqpSidePane.h', |
|
6 | 'include/SidePane/SqpSidePane.h', | |
9 | 'include/SqpApplication.h', |
|
7 | 'include/SqpApplication.h', | |
10 | 'include/DragAndDrop/DragDropScroller.h', |
|
8 | 'include/DragAndDrop/DragDropScroller.h', | |
11 | 'include/DragAndDrop/DragDropTabSwitcher.h', |
|
9 | 'include/DragAndDrop/DragDropTabSwitcher.h', | |
12 | 'include/TimeWidget/TimeWidget.h', |
|
10 | 'include/TimeWidget/TimeWidget.h', | |
13 | 'include/Variable/VariableInspectorWidget.h', |
|
11 | 'include/Variable/VariableInspectorWidget.h', | |
14 | 'include/Variable/RenameVariableDialog.h', |
|
12 | 'include/Variable/RenameVariableDialog.h', | |
15 | 'include/Visualization/qcustomplot.h', |
|
13 | 'include/Visualization/qcustomplot.h', | |
16 | 'include/Visualization/VisualizationGraphWidget.h', |
|
14 | 'include/Visualization/VisualizationGraphWidget.h', | |
17 | 'include/Visualization/VisualizationTabWidget.h', |
|
15 | 'include/Visualization/VisualizationTabWidget.h', | |
18 | 'include/Visualization/VisualizationWidget.h', |
|
16 | 'include/Visualization/VisualizationWidget.h', | |
19 | 'include/Visualization/VisualizationZoneWidget.h', |
|
17 | 'include/Visualization/VisualizationZoneWidget.h', | |
20 | 'include/Visualization/VisualizationDragDropContainer.h', |
|
18 | 'include/Visualization/VisualizationDragDropContainer.h', | |
21 | 'include/Visualization/VisualizationDragWidget.h', |
|
19 | 'include/Visualization/VisualizationDragWidget.h', | |
22 | 'include/Visualization/ColorScaleEditor.h', |
|
20 | 'include/Visualization/ColorScaleEditor.h', | |
23 | 'include/Visualization/VisualizationSelectionZoneItem.h', |
|
21 | 'include/Visualization/VisualizationSelectionZoneItem.h', | |
24 | 'include/Actions/SelectionZoneAction.h', |
|
22 | 'include/Actions/SelectionZoneAction.h', | |
25 | 'include/Visualization/VisualizationMultiZoneSelectionDialog.h', |
|
23 | 'include/Visualization/VisualizationMultiZoneSelectionDialog.h', | |
26 | 'include/Catalogue/CatalogueExplorer.h', |
|
24 | 'include/Catalogue/CatalogueExplorer.h', | |
27 | 'include/Catalogue/CatalogueEventsWidget.h', |
|
25 | 'include/Catalogue/CatalogueEventsWidget.h', | |
28 | 'include/Catalogue/CatalogueSideBarWidget.h', |
|
26 | 'include/Catalogue/CatalogueSideBarWidget.h', | |
29 | 'include/Catalogue/CatalogueInspectorWidget.h', |
|
27 | 'include/Catalogue/CatalogueInspectorWidget.h', | |
30 | 'include/Catalogue/CatalogueEventsModel.h', |
|
28 | 'include/Catalogue/CatalogueEventsModel.h', | |
31 | 'include/Catalogue/CatalogueTreeModel.h', |
|
29 | 'include/Catalogue/CatalogueTreeModel.h', | |
32 | 'include/Actions/FilteringAction.h' |
|
30 | 'include/Actions/FilteringAction.h' | |
33 | ] |
|
31 | ] | |
34 |
|
32 | |||
35 | gui_ui_files = [ |
|
33 | gui_ui_files = [ | |
36 | 'ui/DataSource/DataSourceWidget.ui', |
|
34 | 'ui/DataSource/DataSourceWidget.ui', | |
37 | 'ui/Settings/SqpSettingsDialog.ui', |
|
35 | 'ui/Settings/SqpSettingsDialog.ui', | |
38 | 'ui/Settings/SqpSettingsGeneralWidget.ui', |
|
36 | 'ui/Settings/SqpSettingsGeneralWidget.ui', | |
39 | 'ui/SidePane/SqpSidePane.ui', |
|
37 | 'ui/SidePane/SqpSidePane.ui', | |
40 | 'ui/TimeWidget/TimeWidget.ui', |
|
38 | 'ui/TimeWidget/TimeWidget.ui', | |
41 | 'ui/Variable/VariableInspectorWidget.ui', |
|
39 | 'ui/Variable/VariableInspectorWidget.ui', | |
42 | 'ui/Variable/RenameVariableDialog.ui', |
|
40 | 'ui/Variable/RenameVariableDialog.ui', | |
43 | 'ui/Variable/VariableMenuHeaderWidget.ui', |
|
41 | 'ui/Variable/VariableMenuHeaderWidget.ui', | |
44 | 'ui/Visualization/VisualizationGraphWidget.ui', |
|
42 | 'ui/Visualization/VisualizationGraphWidget.ui', | |
45 | 'ui/Visualization/VisualizationTabWidget.ui', |
|
43 | 'ui/Visualization/VisualizationTabWidget.ui', | |
46 | 'ui/Visualization/VisualizationWidget.ui', |
|
44 | 'ui/Visualization/VisualizationWidget.ui', | |
47 | 'ui/Visualization/VisualizationZoneWidget.ui', |
|
45 | 'ui/Visualization/VisualizationZoneWidget.ui', | |
48 | 'ui/Visualization/ColorScaleEditor.ui', |
|
46 | 'ui/Visualization/ColorScaleEditor.ui', | |
49 | 'ui/Visualization/VisualizationMultiZoneSelectionDialog.ui', |
|
47 | 'ui/Visualization/VisualizationMultiZoneSelectionDialog.ui', | |
50 | 'ui/Catalogue/CatalogueExplorer.ui', |
|
48 | 'ui/Catalogue/CatalogueExplorer.ui', | |
51 | 'ui/Catalogue/CatalogueEventsWidget.ui', |
|
49 | 'ui/Catalogue/CatalogueEventsWidget.ui', | |
52 | 'ui/Catalogue/CatalogueSideBarWidget.ui', |
|
50 | 'ui/Catalogue/CatalogueSideBarWidget.ui', | |
53 | 'ui/Catalogue/CatalogueInspectorWidget.ui' |
|
51 | 'ui/Catalogue/CatalogueInspectorWidget.ui' | |
54 | ] |
|
52 | ] | |
55 |
|
53 | |||
56 | gui_qresources = ['resources/sqpguiresources.qrc'] |
|
54 | gui_qresources = ['resources/sqpguiresources.qrc'] | |
57 |
|
55 | |||
58 | rcc_gen = generator(rcc, |
|
56 | rcc_gen = generator(rcc, | |
59 | output : 'qrc_@BASENAME@.cpp', |
|
57 | output : 'qrc_@BASENAME@.cpp', | |
60 | arguments : [ |
|
58 | arguments : [ | |
61 | '--output', |
|
59 | '--output', | |
62 | '@OUTPUT@', |
|
60 | '@OUTPUT@', | |
63 | '@INPUT@', |
|
61 | '@INPUT@', | |
64 | '@EXTRA_ARGS@']) |
|
62 | '@EXTRA_ARGS@']) | |
65 |
|
63 | |||
66 | rcc_files = rcc_gen.process(gui_qresources, extra_args : ['-name', 'sqpguiresources']) |
|
64 | rcc_files = rcc_gen.process(gui_qresources, extra_args : ['-name', 'sqpguiresources']) | |
67 |
|
65 | |||
68 | gui_moc_files = qt5.preprocess(moc_headers : gui_moc_headers, |
|
66 | gui_moc_files = qt5.preprocess(moc_headers : gui_moc_headers, | |
69 | ui_files : gui_ui_files) |
|
67 | ui_files : gui_ui_files) | |
70 |
|
68 | |||
71 | gui_sources = [ |
|
69 | gui_sources = [ | |
72 | 'src/SqpApplication.cpp', |
|
70 | 'src/SqpApplication.cpp', | |
73 | 'src/DragAndDrop/DragDropGuiController.cpp', |
|
71 | 'src/DragAndDrop/DragDropGuiController.cpp', | |
74 | 'src/DragAndDrop/DragDropScroller.cpp', |
|
72 | 'src/DragAndDrop/DragDropScroller.cpp', | |
75 | 'src/DragAndDrop/DragDropTabSwitcher.cpp', |
|
73 | 'src/DragAndDrop/DragDropTabSwitcher.cpp', | |
76 | 'src/Common/ColorUtils.cpp', |
|
74 | 'src/Common/ColorUtils.cpp', | |
77 | 'src/Common/VisualizationDef.cpp', |
|
75 | 'src/Common/VisualizationDef.cpp', | |
78 | 'src/DataSource/DataSourceTreeWidgetItem.cpp', |
|
76 | 'src/DataSource/DataSourceTreeWidgetItem.cpp', | |
79 | 'src/DataSource/DataSourceTreeWidgetHelper.cpp', |
|
77 | 'src/DataSource/DataSourceTreeWidgetHelper.cpp', | |
80 | 'src/DataSource/DataSourceWidget.cpp', |
|
78 | 'src/DataSource/DataSourceWidget.cpp', | |
81 | 'src/DataSource/DataSourceTreeWidget.cpp', |
|
79 | 'src/DataSource/DataSourceTreeWidget.cpp', | |
82 | 'src/Settings/SqpSettingsDialog.cpp', |
|
80 | 'src/Settings/SqpSettingsDialog.cpp', | |
83 | 'src/Settings/SqpSettingsGeneralWidget.cpp', |
|
81 | 'src/Settings/SqpSettingsGeneralWidget.cpp', | |
84 | 'src/SidePane/SqpSidePane.cpp', |
|
82 | 'src/SidePane/SqpSidePane.cpp', | |
85 | 'src/TimeWidget/TimeWidget.cpp', |
|
83 | 'src/TimeWidget/TimeWidget.cpp', | |
86 | 'src/Variable/VariableInspectorWidget.cpp', |
|
84 | 'src/Variable/VariableInspectorWidget.cpp', | |
87 | 'src/Variable/VariableInspectorTableView.cpp', |
|
85 | 'src/Variable/VariableInspectorTableView.cpp', | |
88 | 'src/Variable/VariableMenuHeaderWidget.cpp', |
|
86 | 'src/Variable/VariableMenuHeaderWidget.cpp', | |
89 | 'src/Variable/RenameVariableDialog.cpp', |
|
87 | 'src/Variable/RenameVariableDialog.cpp', | |
90 | 'src/Visualization/VisualizationGraphHelper.cpp', |
|
88 | 'src/Visualization/VisualizationGraphHelper.cpp', | |
91 | 'src/Visualization/VisualizationGraphRenderingDelegate.cpp', |
|
89 | 'src/Visualization/VisualizationGraphRenderingDelegate.cpp', | |
92 | 'src/Visualization/VisualizationGraphWidget.cpp', |
|
90 | 'src/Visualization/VisualizationGraphWidget.cpp', | |
93 | 'src/Visualization/VisualizationTabWidget.cpp', |
|
91 | 'src/Visualization/VisualizationTabWidget.cpp', | |
94 | 'src/Visualization/VisualizationWidget.cpp', |
|
92 | 'src/Visualization/VisualizationWidget.cpp', | |
95 | 'src/Visualization/VisualizationZoneWidget.cpp', |
|
93 | 'src/Visualization/VisualizationZoneWidget.cpp', | |
96 | 'src/Visualization/qcustomplot.cpp', |
|
94 | 'src/Visualization/qcustomplot.cpp', | |
97 | 'src/Visualization/QCustomPlotSynchronizer.cpp', |
|
95 | 'src/Visualization/QCustomPlotSynchronizer.cpp', | |
98 | 'src/Visualization/operations/FindVariableOperation.cpp', |
|
96 | 'src/Visualization/operations/FindVariableOperation.cpp', | |
99 | 'src/Visualization/operations/GenerateVariableMenuOperation.cpp', |
|
97 | 'src/Visualization/operations/GenerateVariableMenuOperation.cpp', | |
100 | 'src/Visualization/operations/MenuBuilder.cpp', |
|
98 | 'src/Visualization/operations/MenuBuilder.cpp', | |
101 | 'src/Visualization/operations/RemoveVariableOperation.cpp', |
|
99 | 'src/Visualization/operations/RemoveVariableOperation.cpp', | |
102 | 'src/Visualization/operations/RescaleAxeOperation.cpp', |
|
100 | 'src/Visualization/operations/RescaleAxeOperation.cpp', | |
103 | 'src/Visualization/VisualizationDragDropContainer.cpp', |
|
101 | 'src/Visualization/VisualizationDragDropContainer.cpp', | |
104 | 'src/Visualization/VisualizationDragWidget.cpp', |
|
102 | 'src/Visualization/VisualizationDragWidget.cpp', | |
105 | 'src/Visualization/AxisRenderingUtils.cpp', |
|
103 | 'src/Visualization/AxisRenderingUtils.cpp', | |
106 | 'src/Visualization/PlottablesRenderingUtils.cpp', |
|
104 | 'src/Visualization/PlottablesRenderingUtils.cpp', | |
107 | 'src/Visualization/MacScrollBarStyle.cpp', |
|
105 | 'src/Visualization/MacScrollBarStyle.cpp', | |
108 | 'src/Visualization/VisualizationCursorItem.cpp', |
|
106 | 'src/Visualization/VisualizationCursorItem.cpp', | |
109 | 'src/Visualization/ColorScaleEditor.cpp', |
|
107 | 'src/Visualization/ColorScaleEditor.cpp', | |
110 | 'src/Visualization/SqpColorScale.cpp', |
|
108 | 'src/Visualization/SqpColorScale.cpp', | |
111 | 'src/Visualization/QCPColorMapIterator.cpp', |
|
109 | 'src/Visualization/QCPColorMapIterator.cpp', | |
112 | 'src/Visualization/VisualizationSelectionZoneItem.cpp', |
|
110 | 'src/Visualization/VisualizationSelectionZoneItem.cpp', | |
113 | 'src/Visualization/VisualizationSelectionZoneManager.cpp', |
|
111 | 'src/Visualization/VisualizationSelectionZoneManager.cpp', | |
114 | 'src/Actions/SelectionZoneAction.cpp', |
|
112 | 'src/Actions/SelectionZoneAction.cpp', | |
115 | 'src/Actions/ActionsGuiController.cpp', |
|
113 | 'src/Actions/ActionsGuiController.cpp', | |
116 | 'src/Actions/FilteringAction.cpp', |
|
114 | 'src/Actions/FilteringAction.cpp', | |
117 | 'src/Visualization/VisualizationActionManager.cpp', |
|
115 | 'src/Visualization/VisualizationActionManager.cpp', | |
118 | 'src/Visualization/VisualizationMultiZoneSelectionDialog.cpp', |
|
116 | 'src/Visualization/VisualizationMultiZoneSelectionDialog.cpp', | |
119 | 'src/Catalogue/CatalogueExplorer.cpp', |
|
117 | 'src/Catalogue/CatalogueExplorer.cpp', | |
120 | 'src/Catalogue/CatalogueEventsWidget.cpp', |
|
118 | 'src/Catalogue/CatalogueEventsWidget.cpp', | |
121 | 'src/Catalogue/CatalogueSideBarWidget.cpp', |
|
119 | 'src/Catalogue/CatalogueSideBarWidget.cpp', | |
122 | 'src/Catalogue/CatalogueInspectorWidget.cpp', |
|
120 | 'src/Catalogue/CatalogueInspectorWidget.cpp', | |
123 | 'src/Catalogue/CatalogueTreeItems/CatalogueAbstractTreeItem.cpp', |
|
121 | 'src/Catalogue/CatalogueTreeItems/CatalogueAbstractTreeItem.cpp', | |
124 | 'src/Catalogue/CatalogueTreeItems/CatalogueTreeItem.cpp', |
|
122 | 'src/Catalogue/CatalogueTreeItems/CatalogueTreeItem.cpp', | |
125 | 'src/Catalogue/CatalogueTreeItems/CatalogueTextTreeItem.cpp', |
|
123 | 'src/Catalogue/CatalogueTreeItems/CatalogueTextTreeItem.cpp', | |
126 | 'src/Catalogue/CatalogueEventsModel.cpp', |
|
124 | 'src/Catalogue/CatalogueEventsModel.cpp', | |
127 | 'src/Catalogue/CatalogueExplorerHelper.cpp', |
|
125 | 'src/Catalogue/CatalogueExplorerHelper.cpp', | |
128 | 'src/Catalogue/CatalogueActionManager.cpp', |
|
126 | 'src/Catalogue/CatalogueActionManager.cpp', | |
129 | 'src/Catalogue/CatalogueTreeModel.cpp' |
|
127 | 'src/Catalogue/CatalogueTreeModel.cpp' | |
130 | ] |
|
128 | ] | |
131 |
|
129 | |||
132 | gui_inc = include_directories(['include']) |
|
130 | gui_inc = include_directories(['include']) | |
133 |
|
131 | |||
134 | sciqlop_gui_lib = library('sciqlopgui', |
|
132 | sciqlop_gui_lib = library('sciqlopgui', | |
135 | gui_sources, |
|
133 | gui_sources, | |
136 | gui_moc_files, |
|
134 | gui_moc_files, | |
137 | rcc_files, |
|
135 | rcc_files, | |
138 | include_directories : [gui_inc], |
|
136 | include_directories : [gui_inc], | |
139 |
dependencies : [ qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core |
|
137 | dependencies : [ qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core], | |
140 | install : true |
|
138 | install : true | |
141 | ) |
|
139 | ) | |
142 |
|
140 | |||
143 | sciqlop_gui = declare_dependency(link_with : sciqlop_gui_lib, |
|
141 | sciqlop_gui = declare_dependency(link_with : sciqlop_gui_lib, | |
144 | include_directories : gui_inc, |
|
142 | include_directories : gui_inc, | |
145 |
dependencies : [qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core |
|
143 | dependencies : [qt5printsupport, qt5gui, qt5widgets, qt5svg, sciqlop_core]) | |
146 |
|
144 | |||
147 |
|
145 |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
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