[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] ProjectDescription#setDynamicReferences()
|
One more question, is how I set up the configuration to be Active, Debug or
Release? It is not clear from the Test as it uses pseudo-configuration
names, not related to a real installation.
Thanks
--
Subs
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of James Blackburn
> Sent: 01 February 2011 15:51
> To: CDT General developers list.
> Subject: 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
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev