Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] ProjectDescription#setDynamicReferences()

On 1 February 2011 15:14, dmsubs <dmsubs@xxxxxxxxxxxxx> wrote:
> What is not working is that when I open Properties->C/C++ General->Paths and
> Symbols->References, it does not show the reference that I just setup.
> However, the Properties->Project References *does* show the reference. As
> you can see from the code below, they are both setup at the same time.

There's a bit of jekyll and hyde here.  Until recently the platform
hasn't supported references between build configurations. As such CDT
has it's own concept of configuration references.  The property page
you're looking at is a CDT property page.

To get this to work, you need to set the references on the CDT
Configuration descriptions and then set the project description having
done so.  See the CConfigurationDescriptionReferenceTests if you need
an example of how this is done.

CDT reconciles the changes you've made into the platform references for you.

Cheers,
James


Back to the top