Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] New functionality - Convert from simple project to Std Make C/C++

 
1.) There has been a simple re-architecture to remove the knowledge of "what makes a standard Make project" what it is.
    This has been moved from the Wizards and into the CCorePlugin. CCorePlugin now has several methods for creating C/C++ standard make projects.
 
2.) There is also the ability to convert from Simple projects to C/C++ Standard Make projects through a series of wizards.
 
These wizards have been added to the "New" --> Other menu and reside in the category for the result of the conversion.
i.e. Convert to C++ will be found in the C++ category of the New Menu.
 
You will Find
 
In the Category "C":
    Convert to C  -- This converts projects that have been created or imported as Simple Projects.
                            e.g. When you check out new source from CVS as a project.
                                    The project does not get tagged as a C/C++ project by the CVS checkout.
                                  Now the user will be presented with a list of projects and can convert 1-n projects at one time.
 
                            This wizard will add the C Nature to the project and add the default Make builder.
 
In the Category "C++":
    Convert to C++     -- works the same as Convert to C above, but adds the C++ Nature to the project
 
    Convert from C to C++ -- Adds a C++ nature to a C project
 
 
This has also lain the groundwork for ISVs to extend the ConversionWizard and ConvertProjectWizardPage classes, in order to
1.) add appropriate labels to their wizards
2.) define what makes a project a candidate for conversion
3.) supply an implementation to perform the conversion on a single file
 
The general work of collecting the projects, displaying them and doing the Wizard work is handled by the ConversionWizard and ConvertProjectWizardPage  classes.
 
Subclasses can also add widgets to the main page by implementing the method addToMainPage()
Subclasses can also add additional tabs if required through the method addTabItem()
 
 
 
 
¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨

Judy N. Green

(w) 613 591-0931 x 9709

Software Engineer

(c) 613 863-2791

QNX Software Systems Ltd.

75 Terence Matthews Cres.

www.qnx.com

Kanata, Ont. K2M 1W8

¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨
 

Attachment: ConversionPatch.zip
Description: Binary data


Back to the top