forked from WayfireWM/wayfire-plugins-extra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
47 lines (40 loc) · 1.03 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
project(
'wayfire-plugins-extra',
'c',
'cpp',
version: '0.8.0',
license: 'MIT',
meson_version: '>=0.51.0',
default_options: [
'cpp_std=c++17',
'c_std=c11',
'warning_level=2',
'werror=false',
],
)
wayfire = dependency('wayfire')
giomm = dependency('giomm-2.4', required: false)
if get_option('enable_windecor') == true
windecor = subproject('windecor')
endif
if get_option('enable_wayfire_shadows') == true
wayfire_shadows = subproject('wayfire-shadows')
endif
if get_option('enable_focus_request') == true
focus_request = subproject('focus-request')
endif
add_project_arguments(['-DWLR_USE_UNSTABLE'], language: ['cpp', 'c'])
add_project_arguments(['-DWAYFIRE_PLUGIN'], language: ['cpp', 'c'])
add_project_link_arguments(['-rdynamic'], language:'cpp')
add_project_arguments(['-Wno-unused-parameter'], language: 'cpp')
subdir('proto')
subdir('src')
subdir('metadata')
summary = [
'',
'----------------',
'wayfire-plugins-extra @0@'.format(meson.project_version()),
'----------------',
''
]
message('\n'.join(summary))