[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Question about the org.eclipse.cdt.managedbuilder.ui.newWizardPages extension

Hello,

I am looking at adding one or more custom wizard pages to the C/C++
project creation wizard.  What I want these added pages to do is examine
and possibly modify some of the compiler and linker options, that are
normally available under the "Advanced Settings->Settings" dialog.

Is it a reasonable thing to want to do, or does it break some design rule?

Is this something that's relatively easy to do?

I would guess that just modifying the .cproject XML is not going to be
enough to get the new project settings to take hold, that there's likely
to be some in-memory representation that would need to be refreshed.

I've been looking at the org.eclipse.cdt.managedbuild.ui.newWizardPages
extension, but the operationClass's IRunnable.run() is not passed any
parameters at all.  So it's not at all clear to me as to how to gain
access to the newly created project, and its settings.

Any pointers would be appreciated.

Thanks for your consideration,

- Corey