Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Programmatically changing the Standard Make "Build Comm and" and "Build Directory"

Use IBuilderInfo interface for that. As an example you can see how it works in org.eclipse.cdt.make.ui.dialogs.SettingBlock.java.

cebarne2@xxxxxxxxxxxxxxxxxxx wrote:



In our C/C++ plug-in, we would like to be able to change a CDT project's
default "Build Command" and "Build Directory";  That is, change these
two
CDT project properties without actually going to the property page.

Our plug-in generates a makefile for the user.  It is like the managed
make, only different.  Anyhow, the user already needs to specify the
build
folder on our page, and I would like to programmatically change the
CDT's
standard build directory (and build command) so the user does not need
to
enter similar information in two locations.  Presumably, by changing the
CDT's default build command and directory, the user can use the "Build
Project" and "Rebuild Project" menu options for the project to call our
generated makefile correctly.

Any tips or instructions on how to modify these CDT properties will be
appreciated.

Thanks,

Chad Barnes
Rockwell Collins Inc.

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top