summaryrefslogtreecommitdiffstats
path: root/plugins/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/meson.build')
-rw-r--r--plugins/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/meson.build b/plugins/meson.build
new file mode 100644
index 0000000..50bc5d3
--- /dev/null
+++ b/plugins/meson.build
@@ -0,0 +1,31 @@
+# Keep the autotools convention for shared module suffix because GModule
+# depends on it: https://gitlab.gnome.org/GNOME/glib/issues/520
+module_suffix = []
+if host_machine.system() == 'darwin'
+ module_suffix = 'so'
+endif
+
+msgfmt_plugin_cmd = [
+ find_program('msgfmt'),
+ '--desktop',
+ '--keyword=Name',
+ '--keyword=Description',
+ '--template=@INPUT@',
+ '-d', join_paths(srcdir, 'po'),
+ '--output=@OUTPUT@'
+]
+
+subdir('docinfo')
+subdir('filebrowser')
+subdir('modelines')
+subdir('pythonconsole')
+subdir('quickhighlight')
+subdir('quickopen')
+subdir('snippets')
+subdir('sort')
+subdir('spell')
+subdir('time')
+
+if get_option('plugin_externaltools')
+ subdir('externaltools')
+endif