From 0daac7e5d6bb90d77728f589663dc6d563110e62 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 23 Oct 2018 17:55:58 +0200 Subject: Add plugins to meson build --- plugins/ProfileEditor/meson.build | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/ProfileEditor/meson.build (limited to 'plugins/ProfileEditor') diff --git a/plugins/ProfileEditor/meson.build b/plugins/ProfileEditor/meson.build new file mode 100644 index 0000000..2a39a2d --- /dev/null +++ b/plugins/ProfileEditor/meson.build @@ -0,0 +1,13 @@ +ProfileEditorPlugin_moc = qt5.preprocess( + include_directories: include, + moc_headers: ['profileeditorplugin.h', 'forms/profilemanagerdialog.h', 'forms/profileview.h', 'forms/newprofiledialog.h', 'forms/newhttpheaderdialog.h'], + ui_files: ['forms/profilemanagerdialog.ui', 'forms/profileview.ui', 'forms/newprofiledialog.ui', 'forms/newhttpheaderdialog.ui'], + dependencies: dep_qt5 +) + +ProfileEditorPlugin_lib = shared_library('ProfileEditorPlugin', + [interfaces_moc, ProfileEditorPlugin_moc, 'profileeditorplugin.cpp', 'forms/profilemanagerdialog.cpp', 'forms/profileview.cpp', 'forms/newprofiledialog.cpp', 'forms/newhttpheaderdialog.cpp'], + dependencies: dep_qt5, + include_directories: include, + install: true, install_dir: join_paths(get_option('libexecdir'), 'smolbote/plugins') +) -- cgit v1.2.1