thorvg/meson_options.txt
Hermet Park caec92ddd3 infra: add the partial rendering build option
allow users to set partial rendering as option to use,
enabled by deault.

-Dextra="partial_render, ..."
2025-06-23 16:04:48 +09:00

70 lines
1.7 KiB
Meson

option('engines',
type: 'array',
choices: ['sw', 'gl', 'wg', 'all'],
value: ['sw'],
description: 'Enable Rasterizer Engine in thorvg')
option('loaders',
type: 'array',
choices: ['', 'svg', 'png', 'jpg', 'lottie', 'ttf', 'webp', 'all'],
value: ['svg', 'lottie', 'ttf'],
description: 'Enable File Loaders in thorvg')
option('savers',
type: 'array',
choices: ['', '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: ['', '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('file',
type: 'boolean',
value: true,
description: 'Enable File IO calls in thorvg')
option('extra',
type: 'array',
choices: ['', 'partial_render', 'opengl_es', 'lottie_expressions'],
value: ['partial_render', 'lottie_expressions'],
description: '"Enable support for extra options')