##// END OF EJS Templates
Fixed Drag&Drop issue on some platforms and made more consistent plugin install path with Meson...
Fixed Drag&Drop issue on some platforms and made more consistent plugin install path with Meson Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1397:348e733132e4
r1397:348e733132e4
Show More
meson.build
38 lines | 1.2 KiB | text/plain | TextLexer
Added Meson support....
r620
mockplugin_moc_headers = [
'include/MockPlugin.h'
]
mockplugin_sources = [
Alexandre Leroux
Fixes meson build
r796 'src/MockDefs.cpp',
Added Meson support....
r620 'src/CosinusProvider.cpp',
'src/MockPlugin.cpp'
]
Added fuzzy tests and small fixes on meson files...
r1333 mockplugin_inc = include_directories(['include'])
Added Meson support....
r620
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',
Added fuzzy tests and small fixes on meson files...
r1333 '-I', meson.current_source_dir()+'/../../core/include/',
Added Meson support....
r620 '-o', '@OUTPUT@'])
mockplugin_moc_files = gen.process(mockplugin_moc_headers)
Fixed Drag&Drop issue on some platforms and made more consistent plugin install path with Meson...
r1397 cpp_args = ['-DMOCKPLUGIN_LIB','-DQT_PLUGIN']
if(get_option('default_library')=='static')
cpp_args += ['-DQT_STATICPLUGIN']
endif
Added Meson support....
r620 sciqlop_mockplugin = library('mockplugin',
mockplugin_sources,
mockplugin_moc_files,
Fixed Drag&Drop issue on some platforms and made more consistent plugin install path with Meson...
r1397 cpp_args : cpp_args,
Some Meson improvements, now declare dependency for each lib...
r662 include_directories : [mockplugin_inc],
dependencies : [sciqlop_core, sciqlop_gui],
Fixed Drag&Drop issue on some platforms and made more consistent plugin install path with Meson...
r1397 install : true,
install_dir : join_paths(get_option('libdir'), 'SciQLop')
Added Meson support....
r620 )