aboutsummaryrefslogtreecommitdiff
path: root/test cases/python/2 extmodule/ext/nested/meson.build
blob: 4a7ec7675e3ebe62c208a44e4b24cf3880a128b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
py.extension_module('tachyon',
  '../tachyon_module.c',
  c_args: '-DMESON_MODULENAME="nested.tachyon"',
  install: true,
  subdir: 'nested'
)
py.install_sources(
  configure_file(
    input: '../../blaster.py.in',
    output: 'blaster.py',
    configuration: {'tachyon_module': 'nested.tachyon'}
  ),
  pure: false,
  subdir: 'nested',
)


py2.extension_module('tachyon',
  '../tachyon_module.c',
  c_args: '-DMESON_MODULENAME="nested.tachyon"',
  install: true,
  subdir: 'nested'
)
py2.install_sources(
  configure_file(
    input: '../../blaster.py.in',
    output: 'blaster.py',
    configuration: {'tachyon_module': 'nested.tachyon'}
  ),
  pure: false,
  subdir: 'nested',
)