summaryrefslogtreecommitdiff
path: root/test cases/python3/2 extmodule/meson.build
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-02-26 21:21:53 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-02-26 21:21:53 +0200
commitea60a22cd5a2613652942e48e143d7a3da68bbc0 (patch)
treeae351eb81558c49dd7fc76c5ca380e6b6fc99774 /test cases/python3/2 extmodule/meson.build
parent003696fc27e1f560a8448cc5998443696a162927 (diff)
parentefceac497fa2702124398b2712761015d9a1c78a (diff)
downloadmeson-ea60a22cd5a2613652942e48e143d7a3da68bbc0.tar.gz
Merge Python 3 module support.
Diffstat (limited to 'test cases/python3/2 extmodule/meson.build')
-rw-r--r--test cases/python3/2 extmodule/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/test cases/python3/2 extmodule/meson.build b/test cases/python3/2 extmodule/meson.build
new file mode 100644
index 000000000..858bbea9f
--- /dev/null
+++ b/test cases/python3/2 extmodule/meson.build
@@ -0,0 +1,12 @@
+project('Python extension module', 'c',
+ default_options : ['buildtype=release'])
+# Because Windows Python ships only with optimized libs,
+# we must build this project the same way.
+
+py3_dep = dependency('python3')
+
+subdir('ext')
+
+test('extmod',
+ find_program('blaster.py'),
+ env : ['PYTHONPATH=' + pypathdir])