2020-08-10 01:35:27 +00:00
|
|
|
project('orotool', 'cpp', 'c',
|
2020-09-05 01:17:00 +00:00
|
|
|
version: '0.2.0',
|
2020-08-27 22:55:15 +00:00
|
|
|
meson_version: '>=0.55.0',
|
2020-08-13 23:44:20 +00:00
|
|
|
default_options: ['buildtype=debug', 'cpp_std=gnu++17', 'b_ndebug=if-release'],
|
2020-06-19 22:08:04 +00:00
|
|
|
license: 'GPL3+',
|
|
|
|
)
|
|
|
|
|
2020-08-13 23:46:36 +00:00
|
|
|
duckhandy_inc = include_directories('subprojects/duckhandy/include')
|
2020-08-13 23:44:20 +00:00
|
|
|
date_inc = include_directories('subprojects/date/include')
|
2020-08-16 05:28:58 +00:00
|
|
|
magic_enum_inc = include_directories('subprojects/magic_enum/include')
|
2020-06-19 22:08:04 +00:00
|
|
|
|
2020-09-06 16:43:32 +00:00
|
|
|
full_config_dir = get_option('prefix') / get_option('sysconfdir')
|
|
|
|
|
2020-06-19 22:15:24 +00:00
|
|
|
subdir('src')
|
2020-09-06 16:43:32 +00:00
|
|
|
|
|
|
|
if meson.source_root() != full_config_dir
|
2020-09-06 16:47:54 +00:00
|
|
|
install_data(sources: meson.project_name() + '.conf', install_dir: full_config_dir)
|
2020-09-06 16:43:32 +00:00
|
|
|
endif
|