summaryrefslogtreecommitdiff
path: root/src/modules/evas/model_loaders
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-10-29 12:54:55 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-29 12:54:56 -0400
commit28f630ba418719c36ea679541acc97c59cf5183c (patch)
tree72655186e86d5715a7679682df5a967ff8145246 /src/modules/evas/model_loaders
parent795c37b2a49e089984ec5c266e732ed217449c93 (diff)
meson: redo evas building
Summary: before recent times we had to support static and shared building based on the options of the user, which forced us to complicate our build with the evas_goal hack. the evas_goal hack more or less was the idea of "faking" the evas build in the evas directory, finish all the .eo generation there, then build the modules and make all the static files ready. Then build everything in evas_goal. Now, that we just build everything the same always, we can simply build it in the evas way (removing the evas_goal hack FINALLY), as the same modules are build statically and shared. This also gives us the possibility to build the shared image loaders *again* the the modules directory, which unbreaks peoples build scripts who packaged loader files seperatly. Reviewers: zmike, raster, cedric, stefan_schmidt Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10548
Diffstat (limited to 'src/modules/evas/model_loaders')
-rw-r--r--src/modules/evas/model_loaders/meson.build17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/modules/evas/model_loaders/meson.build b/src/modules/evas/model_loaders/meson.build
index 7aae361..fd7ce39 100644
--- a/src/modules/evas/model_loaders/meson.build
+++ b/src/modules/evas/model_loaders/meson.build
@@ -1,16 +1 @@
1evas_model_loaders_file = ['eet', 'md2', 'obj', 'ply'] #all the loaders here are build statically, the build instructions are in src/lib/evas/meson.build
2
3foreach loader : evas_model_loaders_file
4 file = join_paths(loader, 'evas_model_load_'+loader+'.c')
5
6 tmp = static_library('model_loader_'+loader, file,
7 include_directories : config_dir,
8 dependencies : [evas_pre]
9 )
10
11 evas_static_list += [declare_dependency(
12 include_directories: include_directories('.'),
13 sources: file,
14 dependencies: evas_pre,
15 )]
16endforeach