3 default_options : ['buildtype=debugoptimized', 'werror=false', 'optimization=s'],
5 license : 'Apache-2.0')
7 config_h = configuration_data()
9 if get_option('engines').contains('sw') == true
10 config_h.set10('THORVG_SW_RASTER_SUPPORT', true)
13 if get_option('engines').contains('gl') == true
14 config_h.set10('THORVG_GL_RASTER_SUPPORT', true)
17 if get_option('loaders').contains('svg') == true
18 config_h.set10('THORVG_SVG_LOADER_SUPPORT', true)
21 if get_option('vectors').contains('avx') == true
22 config_h.set10('THORVG_AVX_VECTOR_SUPPORT', true)
25 if get_option('bindings').contains('capi') == true
26 config_h.set10('THORVG_CAPI_BINDING_SUPPORT', true)
31 configuration: config_h
34 headers = [include_directories('inc'), include_directories('.')]
46 meson.project_version(),
47 get_option('buildtype'),