2016-02-27 03:04:11 +08:00
|
|
|
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.
|
2016-02-13 03:57:31 +08:00
|
|
|
|
|
|
|
py3_dep = dependency('python3')
|
|
|
|
|
|
|
|
subdir('ext')
|
|
|
|
|
|
|
|
test('extmod',
|
|
|
|
find_program('blaster.py'),
|
|
|
|
env : ['PYTHONPATH=' + pypathdir])
|