-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
39 lines (35 loc) · 707 Bytes
/
Copy pathmeson.build
File metadata and controls
39 lines (35 loc) · 707 Bytes
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
36
37
38
39
project(
'keyr',
'c',
version: '0.0.0-dev',
license: 'GPL-3.0-or-later',
meson_version: '>=0.48.0',
default_options: [
'c_std=c11',
'warning_level=3',
'werror=true',
],
)
cc = meson.get_compiler('c')
add_project_arguments(cc.get_supported_arguments([
'-Wundef',
'-Wlogical-op',
'-Wmissing-include-dirs',
'-Wold-style-definition',
'-Wpointer-arith',
'-Winit-self',
'-Wstrict-prototypes',
'-Wimplicit-fallthrough=2',
'-Wendif-labels',
'-Wstrict-aliasing=2',
'-Woverflow',
'-Wno-unused-parameter',
]), language: 'c')
executable(
'keyr-daemon',
files('keyr-daemon/main.c'),
dependencies: [
dependency('libinput'),
dependency('libudev'),
],
)