mesonbuild/meson

configure_file(): allow more than one substitution per string

Geschlossen

#1.864 geöffnet am 29.05.2017

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (1.465 Forks)batch import
enhancementgeneratorshelp wanted

Repository-Metriken

Stars
 (4.978 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 139T 13h) (51 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide