infra: switch the optimization option to level 3

In case of modern systems, size is not a big problem,
so we turn the optimization option to default
for better performance.

FPS: ~20% enhanced
Size: ~25% increased

Note that this doesn't affect to the web player.
This commit is contained in:
Hermet Park 2024-07-22 11:52:49 +09:00 committed by Hermet Park
parent d7c4cda352
commit 5ebe33af90

View file

@ -1,6 +1,6 @@
project('thorvg',
'cpp',
default_options : ['buildtype=debugoptimized', 'b_sanitize=none', 'werror=false', 'optimization=s', 'cpp_std=c++14', 'strip=true'],
default_options : ['buildtype=debugoptimized', 'b_sanitize=none', 'werror=false', 'optimization=3', 'cpp_std=c++14', 'strip=true'],
version : '0.14.99',
license : 'MIT')