aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cython/2 generated sources/libdir/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/cython/2 generated sources/libdir/meson.build')
-rw-r--r--meson/test cases/cython/2 generated sources/libdir/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/cython/2 generated sources/libdir/meson.build b/meson/test cases/cython/2 generated sources/libdir/meson.build
new file mode 100644
index 000000000..e9259bdad
--- /dev/null
+++ b/meson/test cases/cython/2 generated sources/libdir/meson.build
@@ -0,0 +1,10 @@
+ct2 = custom_target(
+ 'ct2',
+ input : 'gen.py',
+ output : 'ct2.pyx',
+ command : [py3, '@INPUT@', '@OUTPUT@'],
+)
+
+ct2_ext = py3.extension_module('ct2', ct2, dependencies : py3_dep)
+
+pydir = meson.current_build_dir()