##// END OF EJS Templates
Meson: Removed build_by_default for cppcheck target....
Meson: Removed build_by_default for cppcheck target. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r620:3dbb981097b0
r634:3ac95ed8c87f
Show More
meson.build
33 lines | 1.1 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',
link_with : [sciqlop_core, sciqlop_gui],
include_directories : [mockplugin_inc, core_inc, gui_inc],
dependencies : [qt5core, qt5gui, qt5widgets, qt5network],
install : true
)