@@ -4,8 +4,7 CMakeLists.txt.user | |||||
4 | core/src/Version.cpp |
|
4 | core/src/Version.cpp | |
5 | core/include/Version.h |
|
5 | core/include/Version.h | |
6 | 3rdparty/ |
|
6 | 3rdparty/ | |
7 |
subprojects/ |
|
7 | subprojects/* | |
8 | subprojects/QxOrm/ |
|
|||
9 | documentation/* |
|
8 | documentation/* | |
10 | **/.idea/* |
|
9 | **/.idea/* | |
11 | **/__pycache__/* |
|
10 | **/__pycache__/* |
@@ -1,1 +1,1 | |||||
1 | Subproject commit 8f50e908dd3175c425d6f3fd1d8cb2f552cff3f9 |
|
1 | Subproject commit 35ef46382be5819f5a0f683e56312d3fb4844f86 |
@@ -127,7 +127,7 gui_sources = [ | |||||
127 | 'src/Catalogue/CatalogueTreeModel.cpp' |
|
127 | 'src/Catalogue/CatalogueTreeModel.cpp' | |
128 | ] |
|
128 | ] | |
129 |
|
129 | |||
130 | gui_inc = include_directories(['include']) |
|
130 | gui_inc = include_directories(['include', 'include/Visualization']) | |
131 |
|
131 | |||
132 | sciqlop_gui_lib = library('sciqlopgui', |
|
132 | sciqlop_gui_lib = library('sciqlopgui', | |
133 | gui_sources, |
|
133 | gui_sources, |
@@ -1,4 +1,4 | |||||
1 |
project('SciQLOP', 'cpp',default_options : ['cpp_std=c++1 |
|
1 | project('SciQLOP', 'cpp',default_options : ['cpp_std=c++17'], meson_version:'>=0.47.0') | |
2 |
|
2 | |||
3 | qt5 = import('qt5') |
|
3 | qt5 = import('qt5') | |
4 | qt5core = dependency('qt5', modules : 'Core') |
|
4 | qt5core = dependency('qt5', modules : 'Core') | |
@@ -8,6 +8,7 qt5svg = dependency('qt5', modules : 'Svg') | |||||
8 | qt5xml = dependency('qt5', modules : 'Xml') |
|
8 | qt5xml = dependency('qt5', modules : 'Xml') | |
9 | qt5network = dependency('qt5', modules : 'Network') |
|
9 | qt5network = dependency('qt5', modules : 'Network') | |
10 | qt5printsupport = dependency('qt5', modules : 'PrintSupport') |
|
10 | qt5printsupport = dependency('qt5', modules : 'PrintSupport') | |
|
11 | qt5Concurrent = dependency('qt5', modules : 'Concurrent') | |||
11 | qt5test = dependency('qt5', modules : 'Test') |
|
12 | qt5test = dependency('qt5', modules : 'Test') | |
12 |
|
13 | |||
13 | moc = find_program('moc-qt5','moc') |
|
14 | moc = find_program('moc-qt5','moc') |
@@ -30,17 +30,3 sciqlop_mockplugin = library('mockplugin', | |||||
30 | dependencies : [sciqlop_core, sciqlop_gui], |
|
30 | dependencies : [sciqlop_core, sciqlop_gui], | |
31 | install : true |
|
31 | install : true | |
32 | ) |
|
32 | ) | |
33 |
|
||||
34 | tests = [ |
|
|||
35 | [['tests/TestCosinusAcquisition.cpp'],'test_cosinus_acquisition','Cosinus Acquisition test'] |
|
|||
36 | ] |
|
|||
37 |
|
||||
38 | foreach unit_test : tests |
|
|||
39 | test_moc_files = qt5.preprocess(moc_sources : unit_test[0]) |
|
|||
40 | test_exe = executable(unit_test[1],unit_test[0] , test_moc_files, |
|
|||
41 | link_with : [sciqlop_mockplugin], |
|
|||
42 | include_directories : [mockplugin_inc], |
|
|||
43 | cpp_args : ['-DMOCKPLUGIN_TESTS_RESOURCES_DIR="'+meson.current_source_dir()+'/tests-resources"'], |
|
|||
44 | dependencies : [sciqlop_core, sciqlop_gui, qt5test]) |
|
|||
45 | test(unit_test[2], test_exe, args: ['-teamcity', '-o', '@0@.teamcity.txt'.format(unit_test[1])], timeout: 3 * 60) |
|
|||
46 | endforeach |
|
General Comments 0
You need to be logged in to leave comments.
Login now