Skip to main content

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



On 10 May 2011 23:56, Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx> wrote:

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?

This is the sort of thing the template engine can do easily.  It can generate wizard pages, and automatically set options during project creation for all thing you've requested, you may only need to write some XML:

http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/index.html

http://help.eclipse.org/helios/topic/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/exampletemplate.html#Corona%2ecustomguide%2eexampletemplate

There are processTypes defined for doing a number of useful things, including creating source direcotires, settings options, etc
ctrl-T on org.eclipse.cdt.core.templateengine.process.ProcessRunner  to see what's available built-in to CDT.

Cheers,
James

Back to the top