mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-24 08:54:04 +00:00
Build: move 'partial_render' from extra options to a basic option.
Some checks are pending
Android / build_x86_64 (push) Waiting to run
Android / build_aarch64 (push) Waiting to run
iOS / build_x86_64 (push) Waiting to run
iOS / build_arm64 (push) Waiting to run
macOS / build (push) Waiting to run
macOS / compact_test (push) Waiting to run
macOS / unit_test (push) Waiting to run
Ubuntu / build (push) Waiting to run
Ubuntu / compact_test (push) Waiting to run
Ubuntu / unit_test (push) Waiting to run
Windows / build (push) Waiting to run
Windows / compact_test (push) Waiting to run
Windows / unit_test (push) Waiting to run
Some checks are pending
Android / build_x86_64 (push) Waiting to run
Android / build_aarch64 (push) Waiting to run
iOS / build_x86_64 (push) Waiting to run
iOS / build_arm64 (push) Waiting to run
macOS / build (push) Waiting to run
macOS / compact_test (push) Waiting to run
macOS / unit_test (push) Waiting to run
Ubuntu / build (push) Waiting to run
Ubuntu / compact_test (push) Waiting to run
Ubuntu / unit_test (push) Waiting to run
Windows / build (push) Waiting to run
Windows / compact_test (push) Waiting to run
Windows / unit_test (push) Waiting to run
+ added file io option to the summary
This commit is contained in:
parent
9b2bbc496e
commit
1ac6f3d09f
2 changed files with 15 additions and 10 deletions
14
meson.build
14
meson.build
|
@ -39,6 +39,11 @@ if all_engines or get_option('engines').contains('wg')
|
|||
config_h.set10('THORVG_WG_RASTER_SUPPORT', true)
|
||||
endif
|
||||
|
||||
#Partial Rendering
|
||||
if get_option('partial')
|
||||
config_h.set10('THORVG_PARTIAL_RENDER_SUPPORT', true)
|
||||
endif
|
||||
|
||||
#Tools
|
||||
all_tools = get_option('tools').contains('all')
|
||||
lottie2gif = all_tools or get_option('tools').contains('lottie2gif')
|
||||
|
@ -126,12 +131,6 @@ endif
|
|||
|
||||
|
||||
#Extra
|
||||
partial_render = get_option('extra').contains('partial_render')
|
||||
|
||||
if partial_render
|
||||
config_h.set10('THORVG_PARTIAL_RENDER_SUPPORT', true)
|
||||
endif
|
||||
|
||||
lottie_expressions = lottie_loader and get_option('extra').contains('lottie_expressions')
|
||||
|
||||
if lottie_expressions
|
||||
|
@ -176,7 +175,9 @@ summary(
|
|||
{
|
||||
'Build Type': get_option('buildtype'),
|
||||
'Prefix': get_option('prefix'),
|
||||
'File I/O': get_option('file'),
|
||||
'Multi-Tasking': get_option('threads'),
|
||||
'Partial Rendering': get_option('partial'),
|
||||
'SIMD Instruction': simd_type,
|
||||
'Log Message': get_option('log'),
|
||||
'Tests': get_option('tests'),
|
||||
|
@ -236,7 +237,6 @@ summary(
|
|||
|
||||
summary(
|
||||
{
|
||||
'Partial Rendering': partial_render,
|
||||
'Lottie Expressions': lottie_expressions,
|
||||
'OpenGL Variant': gl_variant,
|
||||
},
|
||||
|
|
|
@ -4,6 +4,11 @@ option('engines',
|
|||
value: ['sw'],
|
||||
description: 'Enable Rasterizer Engine in thorvg')
|
||||
|
||||
option('partial',
|
||||
type: 'boolean',
|
||||
value: true,
|
||||
description: 'Enable Partial Rendering in thorvg')
|
||||
|
||||
option('loaders',
|
||||
type: 'array',
|
||||
choices: ['', 'svg', 'png', 'jpg', 'lottie', 'ttf', 'webp', 'all'],
|
||||
|
@ -65,6 +70,6 @@ option('file',
|
|||
|
||||
option('extra',
|
||||
type: 'array',
|
||||
choices: ['', 'partial_render', 'opengl_es', 'lottie_expressions'],
|
||||
value: ['partial_render', 'lottie_expressions'],
|
||||
description: '"Enable support for extra options')
|
||||
choices: ['', 'opengl_es', 'lottie_expressions'],
|
||||
value: ['lottie_expressions'],
|
||||
description: 'Enable support for extra options')
|
||||
|
|
Loading…
Add table
Reference in a new issue