summaryrefslogtreecommitdiff
path: root/src/modules/evas/vg_loaders/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/vg_loaders/meson.build37
1 files changed, 25 insertions, 12 deletions
diff --git a/src/modules/evas/vg_loaders/meson.build b/src/modules/evas/vg_loaders/meson.build
index 584501a825..5ffe8f0ffe 100644
--- a/src/modules/evas/vg_loaders/meson.build
+++ b/src/modules/evas/vg_loaders/meson.build
@@ -1,13 +1,26 @@
1evas_vg_loaders_file = ['eet', 'svg'] 1evas_vg_loaders_file = [
2 2 ['eet', [eet]],
3foreach loader : evas_vg_loaders_file 3 ['json', [json]],
4 file = join_paths(loader, 'evas_vg_load_'+loader+'.c') 4 ['svg', []],
5 static_library('vg_loader_'+loader, file, 5]
6 include_directories : config_dir, 6
7 dependencies : evas_pre 7foreach loader_inst : evas_vg_loaders_file
8 ) 8 loader = loader_inst[0]
9 evas_static_list += [declare_dependency( 9 loader_deps = loader_inst[1]
10 sources: file, 10
11 )] 11 if (get_option('evas-loaders-disabler').contains(loader) == false)
12 config_h.set('EVAS_STATIC_BUILD_VG_'+loader.to_upper(), '1') 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
13endforeach 26endforeach