blob: e9964ca22e902e78c78e2b656accfd6120ac722a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# MSVC_NMake
# Input: pkg_conf_data, project_build_root, python3
# Output: -
configure_file(
input: 'sigc.rc.in',
output: '@BASENAME@',
configuration: pkg_conf_data,
)
# Copy the generated configuration header into the MSVC project directory.
cmd_py = '''
import shutil
shutil.copy2("@0@", "@1@")
'''.format(project_build_root / 'sigc++config.h', project_build_root / 'MSVC_NMake')
meson.add_postconf_script(python3.path(), '-c', cmd_py)
|