mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00

Built to libwebp code in to support the static option of webp loader. Code from :https://github.com/jacklicn/libwebp This forking version only contains the minimal webp decoding feature. Binary Size: +68kb Co-authored-by: Hermet Park <hermet@lottiefiles.com> issue: https://github.com/thorvg/thorvg/issues/1427
59 lines
1.4 KiB
Meson
59 lines
1.4 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'],
|
|
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('vector',
|
|
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')
|