mesonbuild/meson

configure_file(): allow more than one substitution per string

Fermée

#1 864 ouverte le 29 mai 2017

 (3 commentaires) (0 réaction) (0 personne assignée)Python (1 465 forks)batch import
enhancementgeneratorshelp wanted

Métriques du dépôt

Stars
 (4 978 étoiles)
Métriques de merge PR
 (Merge moyen 139j 13h) (51 PRs mergées en 30 j)

Description

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.

Guide contributeur