Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Customizing makefile via environment variable
Customizing makefile via environment variable [message #1517311] Fri, 19 December 2014 12:06 Go to next message
Andrey Solovjev is currently offline Andrey SolovjevFriend
Messages: 8
Registered: December 2014
Location: Moscow
Junior Member
I'd like to have different compile options in my own makefile when I use different build configurations. I try to define an environment variable to use it in the makefile. After I add the variable I see it in the list of variables with the origin USER: CONFIG. Press "Apply" and "Ok". Then I press "build project". In the makefile my variable name in undefined. More, after project building the variable disappears from the environment list in the project properties. Please, prompt me the right way to customize my build options in the external makefile. Eclipse Luna, CDT.
Re: Customizing makefile via environment variable [message #1518585 is a reply to message #1517311] Sat, 20 December 2014 05:46 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 12/19/2014 06:27 AM, Andrey Solovjev wrote:
> I'd like to have different compile options in my own makefile when I use
> different build configurations. I try to define an environment variable
> to use it in the makefile. After I add the variable I see it in the list
> of variables with the origin USER: CONFIG. Press "Apply" and "Ok". Then
> I press "build project". In the makefile my variable name in undefined.
> More, after project building the variable disappears from the
> environment list in the project properties. Please, prompt me the right
> way to customize my build options in the external makefile. Eclipse
> Luna, CDT.

Eclipse CDT has its own forum. Post there.
Previous Topic:Trying to use eclipse to debug a .exe program
Next Topic:Eclipse Always Crash if i want mod with Minecraft Forge
Goto Forum:
  


Current Time: Sat Sep 19 12:54:49 GMT 2020

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

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

Back to the top