Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to set includes and smybols automatically for new project

Hi Patrick,

On Fri, Aug 29, 2008 at 6:59 AM, <patrick.schmitt@xxxxxxx> wrote:
Hello guys,
when i create new project for my custom compiler plugin,i need to set automatically include paths and symbols in the c/c++ general settings.
is there an extension point which get invoked when creating new project to make some basic settings ?
You could use scanner discovery, but if yours set of include paths and symbols is always the same you could add it in your buildDefinitions extension point. For example, create your own (compier) tool with superClass=cdt.managedbuild.tool.gnu.cpp.compiler, add to it an option having category=gnu.cpp.compiler.category.dirs, valueType=includePath and browseType=directory and add to it listOptionValue=your/include/path. org.eclipse.cdt.managedbuilder.gnu.ui buildDefinitions may be enlightening in this respect.
Andrew

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


Back to the top