diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-08-12 15:26:29 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-10-02 17:22:50 +0200 |
commit | 46d464e5bfc10398461a33a2256c1c58d509dd1a (patch) | |
tree | 8c1a9272c05f14033a4430bc122632461bd73608 /data/elementary/objects | |
parent | 70ecf1056bb4be5a68b63044f938ccc2fe0a58c0 (diff) |
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 'data/elementary/objects')
-rw-r--r-- | data/elementary/objects/meson.build | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/data/elementary/objects/meson.build b/data/elementary/objects/meson.build new file mode 100644 index 0000000000..a25a719852 --- /dev/null +++ b/data/elementary/objects/meson.build | |||
@@ -0,0 +1,42 @@ | |||
1 | edc_files = [ | ||
2 | 'test.edc', | ||
3 | 'test_external.edc', | ||
4 | 'test_focus_style.edc', | ||
5 | 'test_masking.edc', | ||
6 | 'test_tab_pager.edc', | ||
7 | 'test_tooltip.edc', | ||
8 | 'test_prefs.edc', | ||
9 | 'cursors.edc', | ||
10 | 'font_preview.edc', | ||
11 | 'multibuttonentry.edc', | ||
12 | 'multip.edc', | ||
13 | 'postit_ent.edc' | ||
14 | ] | ||
15 | |||
16 | elm_themes = [] | ||
17 | |||
18 | foreach edc_file : edc_files | ||
19 | elm_themes += custom_target('edje_cc_elm_' + edc_file, | ||
20 | input : edc_file, | ||
21 | output : '@BASENAME@.edj', | ||
22 | command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta', | ||
23 | '-sd', join_paths(meson.current_source_dir()), | ||
24 | '-id', elm_themes_image_include, | ||
25 | '-id', join_paths(meson.current_source_dir()), | ||
26 | '-fd', join_paths(meson.current_source_dir()), | ||
27 | '@INPUT@', '@OUTPUT@'], | ||
28 | depends : edje_cc, | ||
29 | install : true, | ||
30 | install_dir : join_paths(dir_data, 'elementary', 'objects'), | ||
31 | ) | ||
32 | endforeach | ||
33 | |||
34 | custom_target('prefs_compile', | ||
35 | input: 'test_prefs.epc', | ||
36 | output: 'test_prefs.epb', | ||
37 | command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', elm_prefs_cc.full_path(), | ||
38 | '@INPUT@', '@OUTPUT@'], | ||
39 | depends : elm_prefs_cc, | ||
40 | install : true, | ||
41 | install_dir : join_paths(dir_data, 'elementary', 'objects'), | ||
42 | ) | ||