thorvg/meson_options.txt
Hermet Park db71bc5b55 infra: add extra build options for flexible ThorVG composition
this commit introduces an additional build options:

- lottie expressions: this advanced feature in Lottie can
significantly increase binary size. Users now have the option
to enable or disable it based on their requirements.

Note that, this change introduces one config definitions:

- THORVG_LOTTIE_EXPRESSIONS_SUPPORT
2024-05-09 10:27:39 +09:00

65 lines
No EOL
1.6 KiB
Meson

option('engines',
type: 'array',
choices: ['sw', 'gl_beta', 'wg_beta'],
value: ['sw'],
description: 'Enable Rasterizer Engine in thorvg')
option('loaders',
type: 'array',
choices: ['', 'tvg', 'svg', 'png', 'jpg', 'lottie', 'ttf', 'webp', 'all'],
value: ['svg', 'tvg', 'lottie', 'ttf'],
description: 'Enable File Loaders in thorvg')
option('savers',
type: 'array',
choices: ['', 'tvg', 'gif', 'all'],
value: [''],
description: 'Enable File Savers in thorvg')
option('threads',
type: 'boolean',
value: true,
description: 'Enable the multi-threading task scheduler in thorvg')
option('simd',
type: 'boolean',
value: false,
description: 'Enable CPU Vectorization(SIMD) in thorvg')
option('bindings',
type: 'array',
choices: ['', 'capi', 'wasm_beta'],
value: [''],
description: 'Enable API bindings')
option('tools',
type: 'array',
choices: ['', 'svg2tvg', 'svg2png', 'lottie2gif', 'all'],
value: [''],
description: 'Enable building thorvg tools')
option('examples',
type: 'boolean',
value: false,
description: 'Enable building examples')
option('tests',
type: 'boolean',
value: false,
description: 'Enable building Unit Tests')
option('log',
type: 'boolean',
value: false,
description: 'Enable log message')
option('static',
type: 'boolean',
value: false,
description: 'Force to use static linking modules in thorvg')
option('extra',
type: 'array',
choices: ['', 'lottie_expressions'],
value: ['lottie_expressions'],
description: '"Enable support for exceptionally advanced features')