-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmeson.build
36 lines (32 loc) · 833 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
36
project(
'wayfire-kbdd-plugin',
'c',
'cpp',
version: '0.1',
license: 'MIT',
meson_version: '>=0.51.0',
default_options: [
'cpp_std=c++17',
'c_std=c11',
'warning_level=2',
'werror=false',
],
)
wayfire = dependency('wayfire')
wlroots = dependency('wlroots')
wfconfig = dependency('wf-config')
xkbcommon = dependency('xkbcommon')
xkbregistry = dependency('xkbregistry')
add_project_arguments(['-DWLR_USE_UNSTABLE'], language: ['cpp', 'c'])
add_project_arguments(['-DWAYFIRE_PLUGIN'], language: ['cpp', 'c'])
add_project_link_arguments(['-rdynamic'], language: 'cpp')
subdir('src')
subdir('metadata')
summary = [
'',
'----------------',
'wayfire-kbdd-plugin @0@'.format(meson.project_version()),
'----------------',
''
]
message('\n'.join(summary))