Environment vars in Standard Make Project [message #157809] |
Fri, 11 November 2005 12:40 |
Eclipse User |
|
|
|
Hi all,
using Eclipse 3.1.1 with CDT 3.0.1 I've created a Standard Make C/C++ Make
Project. On the Make Builder tab in the Project Properties I've entered
the build command
echo ${env_var:foo}
When the shell from which Eclipse is started has an environment variable
"foo" with value "bar" I can see the expected output "echo bar" and "bar"
in the console log when building.
Next to the "Make Builder" tab is an "Environment" tab. When I enter the
variable "foo" on this tab and set its value to be "bar123" it still gives
"echo bar" in the console log. When the shell environment variable "foo"
does not exist before starting Eclipse, the console log shows "echo ".
These experiments are not dependent on the radio buttons below the
environment list (append/replace environment).
So what is the intended usage of the Environment tab? Am I missing
something here?
Regards, Frank
|
|
|
Powered by
FUDForum. Page generated in 0.03274 seconds