libaurum: Changes the dbus API for get application list
[platform/core/uifw/aurum.git] / meson.build
1 project('aurum', ['cpp'],
2   version: '0.1.1',
3   default_options : ['buildtype=debugoptimized', 'cpp_std=gnu++17'],
4   meson_version : '>=0.47'
5 )
6
7 dir_prefix    = get_option('prefix')
8 dir_include   = join_paths(dir_prefix, get_option('includedir'))
9
10 config_h = configuration_data()
11 if get_option('tizen') == true
12   config_h.set10('TIZEN', true)
13 else
14   message('')
15 endif
16 if get_option('tizen_gcov') == true
17   config_h.set10('TIZEN_GCOV', true)
18 endif
19
20 if get_option('mqtt_enabled') == true
21   config_h.set10('MQTT_ENABLED', true)
22 endif
23
24 root_inc = include_directories('./')
25
26 subdir('pugixml')
27 subdir('protocol')
28 subdir('libaurum')
29 if get_option('tizen') == true
30   subdir('org.tizen.aurum-bootstrap')
31 endif
32 subdir('tests')
33
34 configure_file(
35   output: 'config.h',
36   configuration: config_h,
37   install_dir: dir_include
38 )
39
40 dconf = configuration_data()
41 dconf.set('VERSION', meson.project_version())
42 if find_program('dot', required : false).found()
43    dconf.set('HAVE_DOT', 'YES')
44 else
45    dconf.set('HAVE_DOT', 'NO')
46 endif
47
48 if get_option('enable_documentation') == true
49   doxygen = find_program('doxygen', required: false)
50   if not doxygen.found()
51     error('doxygen not found')
52   endif
53   subdir('doc')
54 endif