summaryrefslogtreecommitdiff
path: root/src/modules/conf_dialogs/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/conf_dialogs/meson.build')
-rw-r--r--src/modules/conf_dialogs/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/modules/conf_dialogs/meson.build b/src/modules/conf_dialogs/meson.build
new file mode 100644
index 0000000000..6ef8e8c3b3
--- /dev/null
+++ b/src/modules/conf_dialogs/meson.build
@@ -0,0 +1,31 @@
+conf_dialogs_dist = [
+ 'e-module-conf_dialogs.edj',
+ 'module.desktop',
+]
+
+conf_dialogs_src = [
+ 'e_int_config_dialogs.c',
+ 'e_int_config_profiles.c',
+ 'e_mod_main.c',
+ 'e_mod_main.h',
+]
+
+conf_dialogs_dir = join_paths(dir_module_e, 'conf_dialogs', module_arch)
+if get_option('conf-dialogs') == true
+ config_h.set('USE_MODULE_CONF_DIALOGS', '1')
+
+ install_data(conf_dialogs_dist,
+ install_dir: join_paths(dir_module_e, 'conf_dialogs')
+ )
+
+ module_files += join_paths(conf_dialogs_dir, 'conf_dialogs.so')
+ shared_module('conf_dialogs',
+ conf_dialogs_src,
+ include_directories: include_directories(module_includes),
+ name_prefix: '',
+ dependencies: module_deps,
+ install_dir: conf_dialogs_dir,
+ install: true
+ )
+endif
+