mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00

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
65 lines
No EOL
1.6 KiB
Meson
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') |