Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Use Environment Variables in Make
Use Environment Variables in Make [message #154938] Thu, 22 September 2005 17:06 Go to next message
Eclipse UserFriend
Originally posted by: steve.teske.thalescomminc.com

I am trying to port a makefile based build tree into Eclipse. The
makefiles are highly dependent on numerous environment variables. I am
not able to find a way to configure the project to set the environment
variables so I can use my legacy makefile infrustructure within eclipse.

I'm open for any tips.

-- Steve.
Re: Use Environment Variables in Make [message #154941 is a reply to message #154938] Thu, 22 September 2005 18:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: j_apter.hotmail.com

Steve Teske wrote:

> I am trying to port a makefile based build tree into Eclipse. The
> makefiles are highly dependent on numerous environment variables. I am
> not able to find a way to configure the project to set the environment
> variables so I can use my legacy makefile infrustructure within eclipse.

Project properties | C/C++ Make Project | Environment tab is where I set
the environment variables for my makefiles...
Re: Use Environment Variables in Make [message #154952 is a reply to message #154941] Fri, 23 September 2005 01:28 Go to previous message
Eclipse UserFriend
Steve,

alternatively you can also start eclipse from a shell where the necessary
environment variables are defined. The launched build process will inherit
the variables. This should work immediately without having to make any
settings in eclipse. Later on you can switch to DaCypher's suggestion of
setting the variables in the project (which I consider the more elegant
way).

Greets


Norbert

"DaCypher" <j_apter@hotmail.com> schrieb im Newsbeitrag
news:ae4de3a3852353d4fc803c4cd6cd77fd$1@www.eclipse.org...
> Steve Teske wrote:
>
>> I am trying to port a makefile based build tree into Eclipse. The
>> makefiles are highly dependent on numerous environment variables. I am
>> not able to find a way to configure the project to set the environment
>> variables so I can use my legacy makefile infrustructure within eclipse.
>
> Project properties | C/C++ Make Project | Environment tab is where I set
> the environment variables for my makefiles...
>
Previous Topic:The CPU is not supported by selected debugger.
Next Topic:toggle between .cc and .h file
Goto Forum:
  


Current Time: Sun Jul 13 22:08:46 EDT 2025

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

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

Back to the top