##// END OF EJS Templates
Fixes MESON build
Alexandre Leroux -
r778:896a0ff44275
parent child
Show More
@@ -1,63 +1,62
1
1
2 core_moc_headers = [
2 core_moc_headers = [
3 'include/Data/IDataProvider.h',
3 'include/Data/IDataProvider.h',
4 'include/DataSource/DataSourceController.h',
4 'include/DataSource/DataSourceController.h',
5 'include/DataSource/DataSourceItemAction.h',
5 'include/DataSource/DataSourceItemAction.h',
6 'include/Network/NetworkController.h',
6 'include/Network/NetworkController.h',
7 'include/Time/TimeController.h',
7 'include/Time/TimeController.h',
8 'include/Variable/Variable.h',
8 'include/Variable/Variable.h',
9 'include/Variable/VariableCacheController.h',
9 'include/Variable/VariableCacheController.h',
10 'include/Variable/VariableController.h',
10 'include/Variable/VariableController.h',
11 'include/Variable/VariableAcquisitionWorker.h',
11 'include/Variable/VariableAcquisitionWorker.h',
12 'include/Variable/VariableCacheStrategy.h',
12 'include/Variable/VariableCacheStrategy.h',
13 'include/Variable/VariableSynchronizationGroup.h',
13 'include/Variable/VariableSynchronizationGroup.h',
14 'include/Variable/VariableModel.h',
14 'include/Variable/VariableModel.h',
15 'include/Visualization/VisualizationController.h'
15 'include/Visualization/VisualizationController.h'
16 ]
16 ]
17
17
18
18
19 core_moc_files = qt5.preprocess(moc_headers : core_moc_headers)
19 core_moc_files = qt5.preprocess(moc_headers : core_moc_headers)
20
20
21 core_sources = [
21 core_sources = [
22 'src/Common/DateUtils.cpp',
22 'src/Common/DateUtils.cpp',
23 'src/Common/StringUtils.cpp',
23 'src/Common/StringUtils.cpp',
24 'src/Data/ScalarSeries.cpp',
24 'src/Data/ScalarSeries.cpp',
25 'src/Data/DataSeriesIterator.cpp',
25 'src/Data/DataSeriesIterator.cpp',
26 'src/Data/ArrayDataIterator.cpp',
26 'src/Data/ArrayDataIterator.cpp',
27 'src/Data/VectorSeries.cpp',
27 'src/Data/VectorSeries.cpp',
28 'src/DataSource/DataSourceController.cpp',
28 'src/DataSource/DataSourceController.cpp',
29 'src/DataSource/DataSourceItem.cpp',
29 'src/DataSource/DataSourceItem.cpp',
30 'src/DataSource/DataSourceItemAction.cpp',
30 'src/DataSource/DataSourceItemAction.cpp',
31 'src/Network/NetworkController.cpp',
31 'src/Network/NetworkController.cpp',
32 'src/Plugin/PluginManager.cpp',
32 'src/Plugin/PluginManager.cpp',
33 'src/Settings/SqpSettingsDefs.cpp',
33 'src/Settings/SqpSettingsDefs.cpp',
34 'src/Time/TimeController.cpp',
34 'src/Time/TimeController.cpp',
35 'src/Variable/Variable.cpp',
35 'src/Variable/Variable.cpp',
36 'src/Variable/VariableCacheController.cpp',
36 'src/Variable/VariableCacheController.cpp',
37 'src/Variable/VariableController.cpp',
37 'src/Variable/VariableController.cpp',
38 'src/Variable/VariableAcquisitionWorker.cpp',
38 'src/Variable/VariableAcquisitionWorker.cpp',
39 'src/Variable/VariableCacheStrategy.cpp',
40 'src/Variable/VariableSynchronizationGroup.cpp',
39 'src/Variable/VariableSynchronizationGroup.cpp',
41 'src/Variable/VariableModel.cpp',
40 'src/Variable/VariableModel.cpp',
42 'src/Visualization/VisualizationController.cpp'
41 'src/Visualization/VisualizationController.cpp'
43 ]
42 ]
44
43
45 core_inc = include_directories(['include', '../plugin/include'])
44 core_inc = include_directories(['include', '../plugin/include'])
46
45
47 sciqlop_core_lib = library('sciqlopcore',
46 sciqlop_core_lib = library('sciqlopcore',
48 core_sources,
47 core_sources,
49 core_moc_files,
48 core_moc_files,
50 cpp_args : '-DCORE_LIB',
49 cpp_args : '-DCORE_LIB',
51 include_directories : core_inc,
50 include_directories : core_inc,
52 dependencies : [qt5core, qt5network],
51 dependencies : [qt5core, qt5network],
53 install : true
52 install : true
54 )
53 )
55
54
56
55
57 sciqlop_core = declare_dependency(link_with : sciqlop_core_lib,
56 sciqlop_core = declare_dependency(link_with : sciqlop_core_lib,
58 include_directories : core_inc,
57 include_directories : core_inc,
59 dependencies : [qt5core, qt5network])
58 dependencies : [qt5core, qt5network])
60
59
61
60
62 subdir('tests')
61 subdir('tests')
63
62
General Comments 0
You need to be logged in to leave comments. Login now