Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Quick way to add environment variables to make target

From the command line, it is not uncommon to add a few environment variables when calling make to customize the build in some way.  For example:

make ARCH=AintelIFC TYPE=nuopc DESTDIR=/somewhere nuopcinstall

It is somewhat cumbersome to do this in Eclipse.  Right now I have to modify the project build properties and add the ARCH, TYPE, and DESTDIR under C++ Build/Environment.  This is a lot of steps compared to the command line.

Is there a quick and easy way to set these from the make view in Eclipse?

Rocky

Back to the top