meson.build
73 lines
| 2.5 KiB
| text/plain
|
TextLexer
/ core / meson.build
r620 | ||||
r1066 | qxorm_dep = dependency('QxOrm', required : true, fallback:['QxOrm','qxorm_dep']) | |||
catalogueapi_dep = dependency('CatalogueAPI', required : true, fallback:['CatalogueAPI','CatalogueAPI_dep']) | ||||
Thibaud Rabillard
|
r1065 | |||
r620 | core_moc_headers = [ | |||
r1066 | 'include/Catalogue/CatalogueController.h', | |||
r620 | 'include/Data/IDataProvider.h', | |||
'include/DataSource/DataSourceController.h', | ||||
'include/DataSource/DataSourceItemAction.h', | ||||
'include/Network/NetworkController.h', | ||||
'include/Time/TimeController.h', | ||||
'include/Variable/Variable.h', | ||||
'include/Variable/VariableCacheController.h', | ||||
'include/Variable/VariableController.h', | ||||
'include/Variable/VariableAcquisitionWorker.h', | ||||
'include/Variable/VariableSynchronizationGroup.h', | ||||
'include/Variable/VariableModel.h', | ||||
'include/Visualization/VisualizationController.h' | ||||
] | ||||
core_moc_files = qt5.preprocess(moc_headers : core_moc_headers) | ||||
core_sources = [ | ||||
'src/Common/DateUtils.cpp', | ||||
Alexandre Leroux
|
r709 | 'src/Common/StringUtils.cpp', | ||
r853 | 'src/Common/MimeTypesDef.cpp', | |||
r1066 | 'src/Catalogue/CatalogueController.cpp', | |||
r620 | 'src/Data/ScalarSeries.cpp', | |||
Alexandre Leroux
|
r863 | 'src/Data/SpectrogramSeries.cpp', | ||
r620 | 'src/Data/DataSeriesIterator.cpp', | |||
r650 | 'src/Data/ArrayDataIterator.cpp', | |||
r620 | 'src/Data/VectorSeries.cpp', | |||
Alexandre Leroux
|
r859 | 'src/Data/OptionalAxis.cpp', | ||
Alexandre Leroux
|
r979 | 'src/Data/DataSeriesUtils.cpp', | ||
r620 | 'src/DataSource/DataSourceController.cpp', | |||
'src/DataSource/DataSourceItem.cpp', | ||||
'src/DataSource/DataSourceItemAction.cpp', | ||||
Alexandre Leroux
|
r1031 | 'src/DataSource/DataSourceItemMergeHelper.cpp', | ||
r620 | 'src/Network/NetworkController.cpp', | |||
'src/Plugin/PluginManager.cpp', | ||||
'src/Settings/SqpSettingsDefs.cpp', | ||||
'src/Time/TimeController.cpp', | ||||
'src/Variable/Variable.cpp', | ||||
'src/Variable/VariableCacheController.cpp', | ||||
'src/Variable/VariableController.cpp', | ||||
'src/Variable/VariableAcquisitionWorker.cpp', | ||||
'src/Variable/VariableSynchronizationGroup.cpp', | ||||
'src/Variable/VariableModel.cpp', | ||||
'src/Visualization/VisualizationController.cpp' | ||||
] | ||||
core_inc = include_directories(['include', '../plugin/include']) | ||||
r662 | sciqlop_core_lib = library('sciqlopcore', | |||
r620 | core_sources, | |||
core_moc_files, | ||||
cpp_args : '-DCORE_LIB', | ||||
include_directories : core_inc, | ||||
Thibaud Rabillard
|
r1065 | dependencies : [qt5core, qt5network, catalogueapi_dep], | ||
r620 | install : true | |||
) | ||||
r662 | ||||
sciqlop_core = declare_dependency(link_with : sciqlop_core_lib, | ||||
include_directories : core_inc, | ||||
Thibaud Rabillard
|
r1065 | dependencies : [qt5core, qt5network, catalogueapi_dep]) | ||
r662 | ||||
r1066 | ||||
r620 | subdir('tests') | |||