blob: 510daa42726525d17d087de1fd08f3a0c4a70300 (
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: -
sigc_rc = 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)
|