That helps me a lot :) one more question: In step 3, ICLanguageSetting#setSettingsEntries(ICSettingEntry#MACRO, newEntries); this method require a ICLanguageSettingEntry[] type for the second parameter. I created ICSettingEntry[] newEntries.
> Date: Wed, 26 May 2010 10:57:41 +0100 > Subject: Re: [cdt-dev] symbols added don't appear in UI? > From: jamesblackburn@xxxxxxxxx > To: cdt-dev@xxxxxxxxxxx > > On 26 May 2010 10:43, Flo Menier <josieenfrance@xxxxxxxxxxx> wrote: > > Thanks James for the response. Yes, I'am trying to add pre-processor > > symbols. I created a plugin based on custom C project with given > > makefiles. The problem is, when the project is created, some symbols defined > > in makefile are desired to be added to this project before the compilation > > for example. > > I believe if you follow the steps I outlined that will work. > > Note this is what Paths & Symbols UI does, take a look at > AbstractLangListTab. The MBS ToolSettingsTab is the equivalent tab > in the build system which modifies the IConfigurations directly. > The other thing you can do is register an External setting provider > which can be called back to provide settings for the build: > http://wiki.eclipse.org/CDT/Developer/FAQ#How_do_I_contribute_Include_.26_Library_paths_to_a_project_configuration.3F > > Cheers, > James > _______________________________________________ > cdt-dev mailing list > cdt-dev@xxxxxxxxxxx > https://dev.eclipse.org/mailman/listinfo/cdt-dev
Hotmail : un service de messagerie gratuit, fiable et complet Profitez-en
|