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

The example template in this doc is kinda hard to crack I would suggest to check out how HelloWorld projects are defined in CDT. They are in org.eclipse.cdt.managedbuilder.gnu.ui/templates/projecttemplates/

Andrew

On Wed, May 11, 2011 at 9:04 AM, James Blackburn <jamesblackburn@xxxxxxxxx> wrote:


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:



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

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



Back to the top