Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Adding an argument to the build

Hi all,

I am trying to figure out to programmatically add an argument to each build (independent of the build target).

For example,

make all myarg=foobar

One possible way that comes to mind is to obtain the org.eclipse.core.resources.IProjectDescription from the IProject, create a newCommand, and modify the buidSpec. However, I am not sure this a valid or best way of doing things.

Any suggestions and/or code examples are most welcome.


Back to the top