Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Environment vars in Standard Make Project
Environment vars in Standard Make Project [message #157809] Fri, 11 November 2005 12:40
Eclipse UserFriend
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
Previous Topic:Setting up enviroment for extending CDT
Next Topic:Huge executable
Goto Forum:
  


Current Time: Mon Jun 23 21:05:26 EDT 2025

Powered by FUDForum. Page generated in 0.03274 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top