-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
35 lines (29 loc) · 947 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
project('user-identification-manager', 'cpp',
version : '0.1.0',
meson_version : '>=0.45',
default_options : [
'cpp_std=c++17',
'warning_level=3'
])
giomm_dep = dependency('giomm-2.4', version : '>=2.56')
glib_dep = dependency('glib-2.0', version : '>=2.56')
glibmm_dep = dependency('glibmm-2.4', version : '>=2.56')
gtest_main_dep = dependency('gtest', main : true, required : false, version : '>=1.8.1')
if get_option('scard_id_source')
libpcsclite_dep = dependency('libpcsclite', version : '>=1.8.22')
endif
systemd_dep = dependency('systemd')
threads_dep = dependency('threads')
if not gtest_main_dep.found()
gtest_main_dep = disabler()
endif
cpp = meson.get_compiler('cpp')
extra_warnings = cpp.get_supported_arguments([
'-Wformat=2',
'-Woverloaded-virtual',
'-Wshadow',
'-Wsuggest-override'
])
add_project_arguments(extra_warnings, language : 'cpp')
subdir('data')
subdir('src')