mesonbuild/meson

configure_file(): allow more than one substitution per string

Open

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

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Python (4,978 star) (1,465 fork)batch import
enhancementgeneratorshelp wanted

描述

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.

贡献者指南