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.

貢獻者指南