diff options
Diffstat (limited to 'test cases/python3/3 cython/libdir/meson.build')
| -rw-r--r-- | test cases/python3/3 cython/libdir/meson.build | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test cases/python3/3 cython/libdir/meson.build b/test cases/python3/3 cython/libdir/meson.build new file mode 100644 index 000000000..e5cfc8604 --- /dev/null +++ b/test cases/python3/3 cython/libdir/meson.build @@ -0,0 +1,18 @@ +pxd_c = custom_target('cstorer_pxd', + output : 'cstorer_pxd.c', + input : 'cstorer.pxd', + command : [cython, '@INPUT@', '-o', '@OUTPUT@'], +) + +pyx_c = custom_target('storer_pyx', + output : 'storer_pyx.c', + input : 'storer.pyx', + command : [cython, '@INPUT@', '-o', '@OUTPUT@'], +) + +slib = shared_library('storer', + 'storer.c', pxd_c, pyx_c, + name_prefix : '', + dependencies : py3_dep) + +pydir = meson.current_build_dir() |
