boostorg / boostorg/build

[engine] support per target env vars setup.

未关闭
#342 3 条评论 0 个 reaction 已指派 1 人 已被 @grafikrobot 认领 在 GitHub 查看
transition
主要语言
C++
星标
251
派生
63
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。