-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmeson.build
41 lines (35 loc) · 897 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
37
38
39
40
41
project(
'swayfire',
'c',
'cpp',
version: '0.1',
license: 'GPLv3',
meson_version: '>=0.51.0',
default_options: [
'cpp_std=c++17',
'c_std=c11',
'warning_level=2',
'werror=false',
],
)
wayfire = dependency('wayfire', version: '>=0.8.0')
wlroots = dependency('wlroots')
wfconfig = dependency('wf-config')
cairo = dependency('cairo')
pixman = dependency('pixman-1')
add_project_arguments(['-DWLR_USE_UNSTABLE'], language: ['cpp', 'c'])
add_project_arguments(['-DWAYFIRE_PLUGIN'], language: ['cpp', 'c'])
add_project_link_arguments(['-rdynamic'], language:'cpp')
resource_dir = join_paths(get_option('prefix'), 'share', 'wayfire')
metadata_dir = join_paths(resource_dir, 'metadata')
all_src = []
subdir('src')
subdir('metadata')
summary = [
'',
'----------------',
'swayfire @0@'.format(meson.project_version()),
'----------------',
''
]
message('\n'.join(summary))