aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/edje
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/bin/edje
parentecore_cocoa: stop leaking init counts (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 https://phab.enlightenment.org/D7011
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/epp/meson.build38
-rw-r--r--src/bin/edje/meson.build87
2 files changed, 125 insertions, 0 deletions
diff --git a/src/bin/edje/epp/meson.build b/src/bin/edje/epp/meson.build
new file mode 100644
index 0000000000..bbe7e99a6d
--- /dev/null
+++ b/src/bin/edje/epp/meson.build
@@ -0,0 +1,38 @@
+epp_src = [
+ 'cpplib.h',
+ 'cpphash.h',
+ 'cppalloc.c',
+ 'cpperror.c',
+ 'cppexp.c',
+ 'cpphash.c',
+ 'cpplib.c',
+ 'cppmain.c'
+]
+
+epp = executable('epp',
+ epp_src,
+ dependencies: eolian,
+ install: true,
+ install_dir : join_paths(dir_lib, 'edje', 'utils', version_name),
+ c_args : [
+ package_c_args,
+ '-DHAVE_CONFIG_H',
+ '-DHAVE_STRERROR',
+ '-DFATAL_EXIT_CODE=1',
+ '-DSUCCESS_EXIT_CODE=0',
+ '-DGCC_INCLUDE_DIR="/usr/include"',
+ '-DGPLUSPLUS_INCLUDE_DIR="/usr/include"',
+ '-DTOOL_INCLUDE_DIR="/usr/bin"',
+ '-DHOST_BITS_PER_LONG=32',
+ '-DBITS_PER_UNIT=8',
+ '-DHOST_BITS_PER_INT=32',
+ '-DBITS_PER_WORD=16',
+ '-DTARGET_BELL=7',
+ '-DTARGET_BS=8',
+ '-DTARGET_FF=12',
+ '-DTARGET_NEWLINE=10',
+ '-DTARGET_CR=13',
+ '-DTARGET_TAB=9',
+ '-DTARGET_VT=11'
+ ],
+)
diff --git a/src/bin/edje/meson.build b/src/bin/edje/meson.build
new file mode 100644
index 0000000000..c7e5f397c2
--- /dev/null
+++ b/src/bin/edje/meson.build
@@ -0,0 +1,87 @@
+subdir('epp')
+
+edje_bin_deps = [
+ eina, eo, efl, m,
+ luajit, eet, evas,
+ ecore_file, ecore_input,
+ ecore_imf, ecore_imf_evas,
+ embryo, efreet, eio,
+ edje, ecore_evas
+]
+
+edje_cc_src = [
+ 'edje_multisense_convert.h',
+ 'edje_cc.h',
+ 'edje_cc.c',
+ 'edje_cc_out.c',
+ 'edje_cc_parse.c',
+ 'edje_cc_mem.c',
+ 'edje_cc_handlers.c',
+ 'edje_cc_sources.c',
+ 'edje_cc_script.c',
+ 'edje_multisense_convert.c'
+]
+
+edje_cc = executable('edje_cc',
+ edje_cc_src,
+ dependencies: [edje_bin_deps, eet, ecore_evas, ecore_file],
+ install: true,
+ c_args : package_c_args,
+ link_args : bin_linker_args
+)
+
+edje_decc_src = [
+ 'edje_decc.c',
+ 'edje_decc.h',
+ 'edje_cc_mem.c',
+ 'edje_cc_sources.c',
+]
+
+edje_decc = executable('edje_decc',
+ edje_decc_src,
+ dependencies: [edje_bin_deps, eet, ecore_file, ecore_evas],
+ install: true,
+ c_args : package_c_args,
+)
+
+edje_player = executable('edje_player',
+ 'edje_player.c',
+ dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
+ install: true,
+ c_args : package_c_args,
+)
+
+edje_inspector = executable('edje_inspector',
+ 'edje_inspector.c',
+ dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
+ install: true,
+ c_args : package_c_args,
+)
+
+edje_external_inspector = executable('edje_external_inspector',
+ 'edje_external_inspector.c',
+ dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
+ install: true,
+ c_args : package_c_args,
+)
+
+edje_codegen = executable('edje_codegen',
+ 'edje_codegen.c',
+ dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
+ install: true,
+ c_args : package_c_args,
+)
+
+edje_pick = executable('edje_pick',
+ 'edje_pick.c',
+ dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
+ install: true,
+ c_args : package_c_args,
+)
+
+edje_watch = executable('edje_watch',
+ 'edje_watch.c',
+ dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],
+ install: true,
+ c_args : package_c_args,
+)