summaryrefslogtreecommitdiff
path: root/src/tests/emotion
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/tests/emotion
parent70ecf1056bb4be5a68b63044f938ccc2fe0a58c0 (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 'src/tests/emotion')
-rw-r--r--src/tests/emotion/data/meson.build21
-rw-r--r--src/tests/emotion/meson.build21
2 files changed, 42 insertions, 0 deletions
diff --git a/src/tests/emotion/data/meson.build b/src/tests/emotion/data/meson.build
new file mode 100644
index 0000000000..82c3c03ad8
--- /dev/null
+++ b/src/tests/emotion/data/meson.build
@@ -0,0 +1,21 @@
1edc_files = [
2 'theme.edc',
3]
4
5themes = []
6
7foreach edc_file : edc_files
8 themes += custom_target('edje_cc_' + edc_file,
9 input : edc_file,
10 output : '@BASENAME@.edj',
11 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
12 '-id', meson.current_source_dir(),
13 '-fd', meson.current_source_dir(),
14 '-sd', meson.current_source_dir(),
15 '-vd', meson.current_source_dir(),
16 '-dd', meson.current_source_dir(),
17 '-md', meson.current_source_dir(),
18 '-td', meson.current_source_dir(),
19 '@INPUT@', '@OUTPUT@'],
20 depends : edje_cc)
21endforeach \ No newline at end of file
diff --git a/src/tests/emotion/meson.build b/src/tests/emotion/meson.build
new file mode 100644
index 0000000000..ec5027c07b
--- /dev/null
+++ b/src/tests/emotion/meson.build
@@ -0,0 +1,21 @@
1subdir('data')
2
3emotion_eo_suite = executable('emotion_eo_suite',
4 'emotion_test_main-eo.c', themes,
5 dependencies: [check, eo, evas, emotion, ecore_evas, edje, ecore],
6 include_directories : config_dir,
7 c_args : [
8 '-DPACKAGE_DATA_DIR="'+meson.current_build_dir()+'"',
9 '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
10 '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
11)
12
13emotion_suite = executable('emotion_suite',
14 'emotion_test_main.c', themes,
15 dependencies: [check, eo, evas, emotion, ecore_evas, edje, ecore],
16 include_directories : config_dir,
17 c_args : [
18 '-DPACKAGE_DATA_DIR="'+meson.current_build_dir()+'"',
19 '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
20 '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
21)