-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmeson.build
More file actions
42 lines (35 loc) · 814 Bytes
/
meson.build
File metadata and controls
42 lines (35 loc) · 814 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
project(
'lute',
'cpp',
version: '0.2.0',
default_options: [
'cpp_std=c++20',
],
)
add_project_arguments('-frtti', language: 'cpp')
add_project_arguments('-Wno-class-memaccess', language: 'cpp')
pymod = import('python')
py3 = pymod.find_installation(pure: false)
py3_dep = py3.dependency()
min_python_ver = '3.8'
py_ver = py3.language_version()
if py_ver.version_compare(f'<@min_python_ver@')
error(f'Minimum supported Python version is @min_python_ver@, found @py_ver@')
endif
py_sources = [
'run_task.py',
'subprocess_task.py',
]
py3.install_sources(
py_sources,
pure: false,
)
install_subdir(
'config',
install_dir: py3.get_install_dir(),
)
subdir('extensions')
subdir('launch_scripts')
subdir('lute')
subdir('utilities')
subdir('workflows/maestro')