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]
17 dir_prefix = get_option('prefix')
18 libds_bindir = join_paths(dir_prefix, get_option('bindir'))
20 libds_inc = include_directories('include')
21 common_inc = [ include_directories('.'), libds_inc ]
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)
31 configure_file(output: 'config.h', install: false, configuration: cdata)