mesonbuild/meson

configure_file(): allow more than one substitution per string

已关闭

#1,864 创建于 2017年5月29日

 (3 条评论) (0 个反应) (0 位负责人)Python (1,465 个派生)batch import
enhancementgeneratorshelp wanted

仓库指标

星标
 (4,978 个星标)
PR 合并指标
 (平均合并 139天 13小时) (30 天内合并 51 个 PR)

描述

this currently doesn't work:

configure_file(
    ...
    command : [ 'sh', '-c', '... "@INPUT@" > "@OUTPUT@"' ],
)

The problem is that mesonlib.substitute_values() does the substition using if..elif instead of if..if.

贡献者指南