From b3cab8692a06dd1f8f2f07d45cd605731e388a5f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 3 Feb 2019 18:16:18 +0100 Subject: plugin-marshal stuff --- meson.build | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/meson.build b/meson.build index 49261a39..f34ff71c 100644 --- a/meson.build +++ b/meson.build @@ -165,6 +165,24 @@ quote_fmt_c = custom_target('quote_fmt.c', '-P', 'quote_fmt', '@INPUT@']) +glibgenmarshal = find_program('glib-genmarshal') + +plugin_marshal_c = custom_target('plugin-marshal.c', + output : ['plugin-marshal.c'], + input : 'src/plugin-marshal.list', + command : [glibgenmarshal, '--output=@OUTPUT@', + '--body', + '--prefix=syl_plugin_marshal', + '@INPUT@']) + +plugin_marshal_h = custom_target('plugin-marshal.h', + output : ['plugin-marshal.h'], + input : 'src/plugin-marshal.list', + command : [glibgenmarshal, '--output=@OUTPUT@', + '--header', + '--prefix=syl_plugin_marshal', + '@INPUT@']) + executable('sylpheed', ['src/about.c', 'src/account_dialog.c', @@ -217,6 +235,8 @@ executable('sylpheed', 'src/passphrase.c', 'src/plugin.c', 'src/plugin_manager.c', + plugin_marshal_c, + plugin_marshal_h, 'src/prefs_account_dialog.c', 'src/prefs_actions.c', 'src/prefs_common_dialog.c', -- cgit v1.2.3