Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] symbols added don't appear in UI?

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


Back to the top