diff options
| -rw-r--r-- | test cases/cython/4 override_options/foo_cpp.pyx | 2 | ||||
| -rw-r--r-- | test cases/cython/4 override_options/meson.build | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test cases/cython/4 override_options/foo_cpp.pyx b/test cases/cython/4 override_options/foo_cpp.pyx new file mode 100644 index 000000000..01ff64d97 --- /dev/null +++ b/test cases/cython/4 override_options/foo_cpp.pyx @@ -0,0 +1,2 @@ +def the_answer(): + return 43 diff --git a/test cases/cython/4 override_options/meson.build b/test cases/cython/4 override_options/meson.build new file mode 100644 index 000000000..896993c0b --- /dev/null +++ b/test cases/cython/4 override_options/meson.build @@ -0,0 +1,11 @@ +project('my project', 'cython', 'cpp', + default_options : ['buildtype=release']) + +py = import('python').find_installation(pure: false) + +py.extension_module( + 'foo', + 'foo_cpp.pyx', + override_options : ['cython_language=cpp'], +) + |
