Skip to main content

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



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.



Back to the top