-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathmeson.build
More file actions
43 lines (35 loc) · 880 Bytes
/
meson.build
File metadata and controls
43 lines (35 loc) · 880 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
40
41
42
43
project(
'credentialsd',
'rust',
version: '0.2.0',
meson_version: '>= 1.5.0',
license: 'LGPL-3.0-only',
)
version = meson.project_version()
prefix = get_option('prefix')
bindir = prefix / get_option('bindir')
libdir = prefix / get_option('libdir')
localedir = prefix / get_option('localedir')
cargo_home = get_option('cargo_home')
if cargo_home == ''
cargo_home = meson.project_build_root() / 'cargo-home'
endif
cargo_target_dir = meson.project_build_root() / 'target'
meson.add_dist_script(
'build-aux/dist-vendor.sh',
meson.project_build_root() / 'meson-dist' / meson.project_name()
+ '-'
+ version,
meson.project_source_root(),
)
# Libs and executables
subdir('credentialsd-common')
subdir('credentialsd')
subdir('credentialsd-ui')
# Data files
subdir('doc')
subdir('dbus')
subdir('portal')
subdir('systemd')
subdir('webext')
subdir('demo_client')