mesonbuild/meson

configure_file(): allow more than one substitution per string

Chiusa

#1864 aperta il 29 mag 2017

 (3 commenti) (0 reazioni) (0 assegnatari)Python (1465 fork)batch import
enhancementgeneratorshelp wanted

Metriche repository

Star
 (4978 stelle)
Metriche merge PR
 (Merge medio 139g 13h) (51 PR mergiate in 30 g)

Descrizione

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.

Guida contributor