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 fornewproject

Sorry, i just noticed it also will appear there, my fault. All is good now, thanks for your effort.....

  Yes I noticed this already.The Path is always the same. But the problem is i dont want to add it to the include option of my tool, i want to add it to the Paths and Symbols Page under "C/C++ General" of the Properties Menu.

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.

cdt-dev mailing list

Back to the top