summaryrefslogtreecommitdiff
path: root/src/modules/evas/vg_loaders/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/vg_loaders/meson.build')
-rw-r--r--src/modules/evas/vg_loaders/meson.build27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/modules/evas/vg_loaders/meson.build b/src/modules/evas/vg_loaders/meson.build
index 5ffe8f0..fd7ce39 100644
--- a/src/modules/evas/vg_loaders/meson.build
+++ b/src/modules/evas/vg_loaders/meson.build
@@ -1,26 +1 @@
1evas_vg_loaders_file = [ #all the loaders here are build statically, the build instructions are in src/lib/evas/meson.build
2 ['eet', [eet]],
3 ['json', [json]],
4 ['svg', []],
5]
6
7foreach loader_inst : evas_vg_loaders_file
8 loader = loader_inst[0]
9 loader_deps = loader_inst[1]
10
11 if (get_option('evas-loaders-disabler').contains(loader) == false)
12 file = join_paths(loader, 'evas_vg_load_'+loader+'.c')
13
14 static_library('vg_loader_'+loader, file,
15 include_directories : config_dir,
16 dependencies : [evas_pre] + loader_deps
17 )
18
19 evas_static_list += [declare_dependency(
20 sources: file,
21 dependencies: loader_deps,
22 )]
23
24 config_h.set('EVAS_STATIC_BUILD_VG_'+loader.to_upper(), '1')
25 endif
26endforeach