boostorg / boostorg/build

[engine] support per target env vars setup.

Ouverte
#342 3 commentaires 0 réactions 1 personne assignée Réclamée par @grafikrobot Voir sur GitHub
transition
Langage dominant
C++
Étoiles
251
Forks
63
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

We often need to set, or clear, environment variables for invoking target actions. Add an engine feature to be able to set those per target variables:
- Add special `ENVIRON` per target variable that is composed of a list of _name_ and _value_ pairs. The _value_ can be an empty string to indicate that the _name_ env variable should be unset.
- When the action for a target runs the each _name_ and _value_ in the `ENVIRON` variable is set for the duration of the action invocation.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.