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

usages: meson setup build -Dengines="gl" //opengl meson setup build -Dengines="gl" -Dextra="opengl_es" //opengl es
70 lines
1.6 KiB
Meson
70 lines
1.6 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: ['', 'opengl_es', 'lottie_expressions'],
|
|
value: ['lottie_expressions'],
|
|
description: '"Enable support for extra options')
|