-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathmeson.build
More file actions
20 lines (15 loc) · 841 Bytes
/
meson.build
File metadata and controls
20 lines (15 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# WARNING: This file is automatically generated by dev/generate_meson_files.py.
# The template file used to generate this file is dev/root-meson.build.
project('raysect', 'cython',
default_options: ['python.install_env=auto'],
version: run_command(['dev/build/update_version.sh'], check: true).stdout().strip()
)
# when building a distribution, copy the dynamically generated _version.py to the distribution folder
meson.add_dist_script('dev/build/add_version_file_to_dist.sh')
py = import('python').find_installation(pure: false)
numpy = dependency('numpy', method: 'config-tool')
fs = import('fs')
# disabling explicit noexcept until pycharm fixes their cython 3 support (causes a large number of build warnings)
cython_args = ['--annotate', '-X legacy_implicit_noexcept=True']
cython_dependencies = [numpy]
subdir('raysect')