blob: 0a1c35fe8146516f9c47522f9f12ed78a20b5dc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
## Cython can now transpile to C++ as an intermediate language
Built-in cython support currently only allows C as an intermediate language, now
C++ is also allowed. This can be set via the `cython_language` option, either on
the command line, or in the meson.build files.
```meson
project(
'myproject',
'cython',
default_options : ['cython_language=cpp'],
)
```
or on a per target basis with:
```meson
python.extension_module(
'mod',
'mod.pyx',
override_options : ['cython_language=cpp'],
)
```
|