mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-19 14:31:39 +00:00

We hate spagettie code, not even build script. this revise it to keep the build script consistency.
18 lines
367 B
Meson
18 lines
367 B
Meson
subloader_dep = []
|
|
|
|
if get_option('loaders').contains('svg') == true
|
|
subdir('svg')
|
|
message('Enable SVG Loader')
|
|
endif
|
|
|
|
if get_option('loaders').contains('png') == true
|
|
subdir('png')
|
|
message('Enable PNG Loader')
|
|
endif
|
|
|
|
subdir('raw')
|
|
|
|
loader_dep = declare_dependency(
|
|
dependencies: subloader_dep,
|
|
include_directories : include_directories('.'),
|
|
)
|