diff options
-rw-r--r-- | meson.build | 3 | ||||
-rw-r--r-- | plugins/ConfigurationEditor/meson.build | 13 | ||||
-rw-r--r-- | plugins/ProfileEditor/meson.build | 13 | ||||
-rw-r--r-- | src/meson.build | 2 |
4 files changed, 30 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 07ca78f..93e5167 100644 --- a/meson.build +++ b/meson.build @@ -60,3 +60,6 @@ subdir('lib/web') subdir('3rd-party/SingleApplication') subdir('src') + +subdir('plugins/ConfigurationEditor') +subdir('plugins/ProfileEditor') 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') +) diff --git a/src/meson.build b/src/meson.build index 99231d2..e09b130 100644 --- a/src/meson.build +++ b/src/meson.build @@ -18,7 +18,7 @@ if get_option('Plasma').enabled() optdepends += dep_plasma endif -poi = executable('poi', install: true, +poi = executable(get_option('poiName'), install: true, cpp_args: ['-DQAPPLICATION_CLASS=QApplication'], dependencies: [dep_qt5, dep_boost, dep_SingleApplication, optdepends, dep_about, dep_addressbar, dep_bookmarks, dep_configuration, dep_downloads, dep_urlfilter, dep_web], |