Environment
The environment element is used to bind a value to a named variable in the environment of a process executed via an executable command. This element will have no effect on operating systems that do not support environmental variables.
Attributes
| Attribute |
Description |
Required? |
Default |
| name |
The name of the environment variable to set. |
Yes |
|
| value |
The value to bind to the environment variable. |
Yes |
|
Child Elements
None.
Examples
Set the environmental variable "DEBUG" to "1" when executing a make:
<make name="build" targets="all">
<environment name="DEBUG" value="1"/>
</make>