##// END OF EJS Templates
Merge pull request 243 from SCIQLOP develop...
Merge pull request 243 from SCIQLOP develop Updated Meson build def + Improved plugin loading

File last commit:

r617:831cc540a74a
r618:929bea1d1f95 merge
Show More
meson.build
32 lines | 1.0 KiB | text/plain | TextLexer
mockplugin_moc_headers = [
'include/MockPlugin.h'
]
mockplugin_sources = [
'src/CosinusProvider.cpp',
'src/MockPlugin.cpp'
]
mockplugin_inc = include_directories(['include', '../../plugin/include'])
gen = generator(moc,
output : 'moc_@BASENAME@.cpp',
arguments : ['@INPUT@',
'-DPLUGIN_JSON_FILE_PATH="'+meson.source_root()+'/plugins/mockplugin/resources/mockplugin.json"',
'-I', meson.current_source_dir()+'/include',
'-I', meson.current_source_dir()+'/../../plugin/include',
'-o', '@OUTPUT@'])
mockplugin_moc_files = gen.process(mockplugin_moc_headers)
sciqlop_mockplugin = library('mockplugin',
mockplugin_sources,
mockplugin_moc_files,
cpp_args : '-DMOCKPLUGIN_LIB',
include_directories : [mockplugin_inc],
dependencies : [sciqlop_core, sciqlop_gui],
install : true
)