Bug 186603 - Build dependency checks current not matching configurations
Summary: Build dependency checks current not matching configurations
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux-GTK
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 12:45 EDT by michaelc CLA
Modified: 2020-09-04 15:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michaelc CLA 2007-05-11 12:45:13 EDT
Build ID: Europa 3.3M7, CDT 4.0.0 RC0

Steps To Reproduce:
1. Have two projects, Project2 depends on Project1, both have Debug and Release configurations.
2. Set Project1 active config to Debug and Project2 to Release.
3. Build Project2 (Release). Project1 (Debug) is checked as the dependency of Project2 (Release). You can verify this by selecting Project1 afterward and the build console window will shows that CDT attempted to build Project1 (Debug) instead of the matching configuration (Release) of the dependent.


More information:
It seems that CDT only asked the depending Project1 to build and is not able to be specific about the fact that we need the matching configuration (Release) to be built. Since we can select project's active configuration indenpendently, CDT should be able to request the matching configuration of the depending project to be built.
Comment 1 Mikhail Sennikovsky CLA 2007-05-11 12:55:53 EDT
The CDT can not make such a decision automatically.

Try specifying configuration dependencies via "C/C++ General"->"Paths and Symbols"->"References". This mechanism should be used instead of platform project references.

I Guess we should move the configuration dependencies page from the "Paths and symbols" to a separate "References" page.
Oleg, could you take a look into this after the M7?

Mikhail
Comment 2 György Földvári CLA 2008-03-04 05:28:53 EST
Trying to specifying configuration dependencies via "C/C++ General"->"Paths and
Symbols"->"References" does not help me out, build still not builds the referenced  configuration but the active one.