##// END OF EJS Templates
Adds basic demo plugin to explain how to write custom plugins in C++...
Adds basic demo plugin to explain how to write custom plugins in C++ Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1509:3eb0350f563b
r1509:3eb0350f563b
Show More
meson.build
25 lines | 899 B | text/plain | TextLexer
demoplugin_moc_headers = [
'DemoPlugin.hpp'
]
demoplugin_sources = [
'DemoPlugin.cpp'
]
demoplugin_moc_files = qt5.preprocess(
moc_headers: demoplugin_moc_headers,
dependencies: sciqlop_core,
include_directories: core_inc,
moc_extra_arguments : ['-DQT_PLUGIN', '-DQT_STATICPLUGIN']
)
demo_plugin = static_library('demo_plugin',
'DemoPlugin.cpp',
demoplugin_moc_files,
extra_files: 'DemoPlugin.hpp',
dependencies : [sciqlop_core],
cpp_args : ['-DQT_PLUGIN', '-DQT_STATICPLUGIN']
)
demo_plugin_dep = declare_dependency(link_with: demo_plugin, include_directories: '.')