forked from gramineproject/graphene
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
32 lines (27 loc) · 1010 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
project(
'graphene', 'c',
version: '1.0',
license: 'LGPLv3+',
# DISTRO EOL meson_version
# xenial 2021.04 0.29
# xenial-backports 2021.04 0.40
# bionic 2023.04 0.45
# buster 2022 0.49
# buster-backports 2022 0.52
# focal 2025.04 0.53
#
# https://wiki.ubuntu.com/Releases
# https://wiki.debian.org/DebianReleases#Production_Releases
meson_version: '>=0.45',
)
prefix = get_option('prefix')
pkglibdir = join_paths(get_option('libdir'), meson.project_name())
pkglibexecdir = join_paths(get_option('libexecdir'), meson.project_name())
pkgdatadir = join_paths(get_option('datadir'), meson.project_name())
direct = get_option('direct') == 'enabled'
sgx = get_option('sgx') == 'enabled'
# TODO: after deprecating 18.04/bionic, update this to import('python')
python3mod = import('python3')
python3 = python3mod.find_python()
subdir('Runtime')
subdir('python')