aurum: rework sendKey protocol
[platform/core/uifw/aurum.git] / meson.build
1 project('aurum', ['cpp'],
2   version: '0.1.1',
3   default_options : ['buildtype=debugoptimized', 'cpp_std=c++17'],
4   meson_version : '>=0.47'
5 )
6
7 config_h = configuration_data()
8 if get_option('tizen') == true
9   config_h.set10('GBS_BUILD', true)
10   config_h.set10('GBSBUILD', true)
11   config_h.set10('TIZEN', true)
12 else
13   message('')
14 endif
15 if get_option('tizen_gcov') == true
16   config_h.set10('TIZEN_GCOV', true)
17 endif
18
19 root_inc = include_directories('./')
20
21 subdir('protocol')
22 subdir('libloguru')
23 subdir('libaurum')
24 subdir('org.tizen.aurum-bootstrap')
25 subdir('tests')
26
27 configure_file(
28   output: 'config.h',
29   configuration: config_h
30 )
31
32 doxygen = find_program('doxygen', required: false)
33 if not doxygen.found()
34    error('doxygen not found')
35 endif
36
37 dconf = configuration_data()
38 dconf.set('VERSION', meson.project_version())
39 if find_program('dot', required : false).found()
40    dconf.set('HAVE_DOT', 'YES')
41 else
42    dconf.set('HAVE_DOT', 'NO')
43 endif
44
45 subdir('doc')