sernatur/meson.build
2018-10-18 16:31:50 -03:00

24 lines
623 B
Meson

project('sernatur',
['c', 'vala'],
version: '1.0.0',
license: 'BSD-3',
default_options: [
'b_ofast=if-release',
'b_march_native=if-release',
'b_ndebug=if-release'
]
)
add_global_arguments('-DGETTEXT_PACKAGE="sernatur"', language: 'c')
docs_enabled = get_option('valadocs')
valadoc = find_program('valadoc', required: docs_enabled)
subdir('po')
subdir('data')
subdir('src')
subdir('script')
subdir('docs')
install_data('LICENSE', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
install_data('README.md', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))