client: add simple-dpms
[platform/core/uifw/libds-tizen.git] / meson.build
1 project('libds', 'c',
2   license: 'MIT',
3   version: '0.1.2',
4   default_options: [
5     'warning_level=1',
6     'c_std=gnu99',
7     'buildtype=debug'
8   ]
9 )
10
11 libds_version = meson.project_version()
12 version_arr = libds_version.split('.')
13 libds_version_major = version_arr[0]
14 libds_version_minor = version_arr[1]
15 libds_version_patch = version_arr[2]
16
17 dir_prefix = get_option('prefix')
18 libds_bindir = join_paths(dir_prefix, get_option('bindir'))
19
20 libds_inc = include_directories('include')
21 common_inc = [ include_directories('.'), libds_inc ]
22
23 cdata = configuration_data()
24 cdata.set('LIBDS_VERSION_MAJOR', libds_version_major)
25 cdata.set('LIBDS_VERSION_MINOR', libds_version_minor)
26 cdata.set('LIBDS_VERSION_PATCH', libds_version_patch)
27
28 subdir('src')
29 subdir('include')
30
31 configure_file(output: 'config.h', install: false, configuration: cdata)