Merge "SvgLoader: Inherit parent opacity" into tizen
[platform/core/graphics/tizenvg.git] / meson.build
1 project('thorvg',
2         'cpp',
3         default_options : ['buildtype=debugoptimized', 'werror=false', 'optimization=s'],
4         version : '0.1.0',
5         license : 'Apache-2.0')
6
7 config_h = configuration_data()
8
9 if get_option('engines').contains('sw') == true
10     config_h.set10('THORVG_SW_RASTER_SUPPORT', true)
11 endif
12
13 if get_option('engines').contains('gl') == true
14     config_h.set10('THORVG_GL_RASTER_SUPPORT', true)
15 endif
16
17 if get_option('loaders').contains('svg') == true
18     config_h.set10('THORVG_SVG_LOADER_SUPPORT', true)
19 endif
20
21 configure_file(
22     output: 'config.h',
23     configuration: config_h
24 )
25
26 headers = [include_directories('inc'), include_directories('.')]
27
28 subdir('inc')
29 subdir('src')
30
31 summary = '''
32
33 Summary:
34     thorvg version :        @0@
35     Build type      :       @1@
36     Prefix          :       @2@
37 '''.format(
38         meson.project_version(),
39         get_option('buildtype'),
40         get_option('prefix'),
41     )
42
43 message(summary)