aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-23 17:55:58 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-23 18:13:25 +0200
commit0daac7e5d6bb90d77728f589663dc6d563110e62 (patch)
tree5874e03ed7a4aba6b2f3d53d5191dd48a904b2bd /plugins
parentFix plasma dependency (diff)
downloadsmolbote-0daac7e5d6bb90d77728f589663dc6d563110e62.tar.xz
Add plugins to meson build
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ConfigurationEditor/meson.build13
-rw-r--r--plugins/ProfileEditor/meson.build13
2 files changed, 26 insertions, 0 deletions
diff --git a/plugins/ConfigurationEditor/meson.build b/plugins/ConfigurationEditor/meson.build
new file mode 100644
index 0000000..d11ceac
--- /dev/null
+++ b/plugins/ConfigurationEditor/meson.build
@@ -0,0 +1,13 @@
+ConfigurationEditorPlugin_moc = qt5.preprocess(
+ include_directories: include,
+ moc_headers: ['configurationeditorplugin.h', 'forms/configurationdialog.h'],
+ ui_files: ['forms/configurationdialog.ui'],
+ dependencies: dep_qt5
+)
+
+ConfigurationEditorPlugin_lib = shared_library('ConfigurationEditorPlugin',
+ [interfaces_moc, ConfigurationEditorPlugin_moc, 'configurationeditorplugin.cpp', 'forms/configurationdialog.cpp'],
+ dependencies: dep_qt5,
+ include_directories: include,
+ install: true, install_dir: join_paths(get_option('libexecdir'), 'smolbote/plugins')
+)
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')
+)