summaryrefslogtreecommitdiff
path: root/src/modules/elementary
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-12 15:26:29 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-02 17:22:50 +0200
commit46d464e5bfc10398461a33a2256c1c58d509dd1a (patch)
tree8c1a9272c05f14033a4430bc122632461bd73608 /src/modules/elementary
parent70ecf1056bb4be5a68b63044f938ccc2fe0a58c0 (diff)
downloadefl-46d464e5bfc10398461a33a2256c1c58d509dd1a.tar.gz
here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
Diffstat (limited to 'src/modules/elementary')
-rw-r--r--src/modules/elementary/access_output/meson.build10
-rw-r--r--src/modules/elementary/clock_input_ctxpopup/meson.build10
-rw-r--r--src/modules/elementary/meson.build14
-rw-r--r--src/modules/elementary/prefs/meson.build24
-rw-r--r--src/modules/elementary/test_entry/meson.build10
-rw-r--r--src/modules/elementary/test_map/meson.build10
-rw-r--r--src/modules/elementary/web/meson.build1
-rw-r--r--src/modules/elementary/web/none/meson.build30
8 files changed, 109 insertions, 0 deletions
diff --git a/src/modules/elementary/access_output/meson.build b/src/modules/elementary/access_output/meson.build
new file mode 100644
index 0000000000..178ab16618
--- /dev/null
+++ b/src/modules/elementary/access_output/meson.build
@@ -0,0 +1,10 @@
+src = files([
+ 'mod.c',
+])
+
+shared_module(mod,
+ src,
+ dependencies: [elementary],
+ install: true,
+ install_dir : mod_install_dir
+)
diff --git a/src/modules/elementary/clock_input_ctxpopup/meson.build b/src/modules/elementary/clock_input_ctxpopup/meson.build
new file mode 100644
index 0000000000..04435773fe
--- /dev/null
+++ b/src/modules/elementary/clock_input_ctxpopup/meson.build
@@ -0,0 +1,10 @@
+src = files([
+ 'clock_input_ctxpopup.c',
+])
+
+shared_module(mod,
+ src,
+ dependencies: [elementary],
+ install: true,
+ install_dir : mod_install_dir
+)
diff --git a/src/modules/elementary/meson.build b/src/modules/elementary/meson.build
new file mode 100644
index 0000000000..ed77fe240e
--- /dev/null
+++ b/src/modules/elementary/meson.build
@@ -0,0 +1,14 @@
+mods = [
+ 'access_output',
+ 'clock_input_ctxpopup',
+ 'prefs',
+ 'test_entry',
+ 'test_map',
+ join_paths('web', 'none')
+]
+
+foreach mod : mods
+ mod_install_dir = join_paths(dir_lib, 'elementary', 'modules', mod, version_name)
+ subdir(mod)
+ module_files += join_paths(mod_install_dir, 'lib'+mod+'.'+sys_mod_extension)
+endforeach
diff --git a/src/modules/elementary/prefs/meson.build b/src/modules/elementary/prefs/meson.build
new file mode 100644
index 0000000000..9ec2c9a475
--- /dev/null
+++ b/src/modules/elementary/prefs/meson.build
@@ -0,0 +1,24 @@
+src = files([
+ 'private.h',
+ 'prefs_iface.c',
+ 'elm_button.c',
+ 'elm_check.c',
+ 'elm_datetime.c',
+ 'elm_entry.c',
+ 'elm_label.c',
+ 'elm_separator.c',
+ 'elm_slider.c',
+ 'elm_spinner.c',
+ 'elm_swallow.c',
+ 'elm_vertical_box.c',
+ 'elm_horizontal_box.c',
+ 'elm_vertical_frame.c',
+ 'elm_horizontal_frame.c'
+])
+
+shared_module(mod,
+ src,
+ dependencies: [elementary],
+ install: true,
+ install_dir : mod_install_dir
+)
diff --git a/src/modules/elementary/test_entry/meson.build b/src/modules/elementary/test_entry/meson.build
new file mode 100644
index 0000000000..178ab16618
--- /dev/null
+++ b/src/modules/elementary/test_entry/meson.build
@@ -0,0 +1,10 @@
+src = files([
+ 'mod.c',
+])
+
+shared_module(mod,
+ src,
+ dependencies: [elementary],
+ install: true,
+ install_dir : mod_install_dir
+)
diff --git a/src/modules/elementary/test_map/meson.build b/src/modules/elementary/test_map/meson.build
new file mode 100644
index 0000000000..178ab16618
--- /dev/null
+++ b/src/modules/elementary/test_map/meson.build
@@ -0,0 +1,10 @@
+src = files([
+ 'mod.c',
+])
+
+shared_module(mod,
+ src,
+ dependencies: [elementary],
+ install: true,
+ install_dir : mod_install_dir
+)
diff --git a/src/modules/elementary/web/meson.build b/src/modules/elementary/web/meson.build
new file mode 100644
index 0000000000..13c563c96a
--- /dev/null
+++ b/src/modules/elementary/web/meson.build
@@ -0,0 +1 @@
+subdir('none')
diff --git a/src/modules/elementary/web/none/meson.build b/src/modules/elementary/web/none/meson.build
new file mode 100644
index 0000000000..ddbd9c2f2e
--- /dev/null
+++ b/src/modules/elementary/web/none/meson.build
@@ -0,0 +1,30 @@
+pub_eo_files = [
+ 'elm_web_none.eo'
+]
+
+
+foreach eo_file : pub_eo_files
+ pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
+ input : eo_file,
+ output : [eo_file + '.h'],
+ install : true,
+ install_dir : dir_package_include,
+ command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories,
+ '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
+ '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
+ '-gch', '@INPUT@'])
+endforeach
+
+
+src = files([
+ 'elm_web_none.c'
+]) + pub_eo_file_target
+
+shared_module('none',
+ src,
+ dependencies: [elementary, elementary_deps],
+ install: true,
+ install_dir : mod_install_dir
+)
+
+mod = 'none'