Skip to main content



      Home
Home » Newcomers » Newcomers » Customizing makefile via environment variable
Customizing makefile via environment variable [message #1517311] Fri, 19 December 2014 07:06 Go to next message
Eclipse UserFriend
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 00:46 Go to previous message
Eclipse UserFriend
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 Jul 05 10:38:24 EDT 2025

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

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

Back to the top