instead removed individual messages.
if get_option('log') == true
config_h.set10('THORVG_LOG_ENABLED', true)
- message('Enable Log')
endif
configure_file(
summary = '''
Summary:
- ThorVG version : @0@
- Build Type : @1@
- Prefix : @2@
- Tests : @3@
- Examples : @4@
+ ThorVG version: @0@
+ Build Type: @1@
+ Prefix: @2@
+ Raster Engine (SW): @3@
+ Raster Engine (GL): @4@
+ AVX SIMD Instruction: @5@
+ Loader (TVG): @6@
+ Loader (SVG): @7@
+ Loader (PNG): @8@
+ CAPI Binding: @9@
+ Log Message: @10@
+ Tests: @11@
+ Examples: @12@
+ Tool (Svg2Png): @13@
+
'''.format(
meson.project_version(),
get_option('buildtype'),
get_option('prefix'),
+ get_option('engines').contains('sw'),
+ get_option('engines').contains('gl'),
+ get_option('vectors').contains('avx'),
+ get_option('loaders').contains('tvg'),
+ get_option('loaders').contains('svg'),
+ get_option('loaders').contains('png'),
+ get_option('bindings').contains('capi'),
+ get_option('log'),
get_option('tests'),
get_option('examples'),
+ get_option('tools').contains('svg2png'),
)
message(summary)
if get_option('tools').contains('svg2png') == true
- message('Enable Tools: svg2png')
subdir('svg2png')
endif
if get_option('bindings').contains('capi') == true
subdir('capi')
- message('Enable CAPI Bindings')
endif
binding_dep = declare_dependency(
if get_option('engines').contains('sw') == true
subdir('sw_engine')
- message('Enable SW Raster Engine')
endif
if get_option('engines').contains('gl') == true
subdir('gl_engine')
- message('Enable GL Raster Engine')
endif
source_file = [
if get_option('loaders').contains('svg') == true
subdir('svg')
- message('Enable SVG Loader')
endif
if get_option('loaders').contains('png') == true
subdir('png')
- message('Enable PNG Loader')
endif
if get_option('loaders').contains('tvg') == true
subdir('tvg')
- message('Enable TVG Loader')
endif
subdir('raw')
if (cc.get_id() != 'msvc')
if get_option('vectors').contains('avx')
compiler_flags += ['-mavx']
- message('Enable Advanced Vector Extension')
endif
if get_option('b_sanitize') == 'none'
compiler_flags += ['-fno-exceptions', '-fno-rtti',
subdir('bin')
if get_option('examples') == true
- message('Enable Examples')
subdir('examples')
endif