Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348887

Summary: Executable is not relinked when it refers to library project and library is rebuilt
Product: [Tools] CDT Reporter: Marko Mikkonen <mmikkone>
Component: cdt-build-managedAssignee: Project Inbox <cdt-build-managed-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: major    
Priority: P3 CC: cdtdoug, jamesblackburn+eclipse, yevshif
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Marko Mikkonen CLA 2011-06-09 09:14:42 EDT
Build Identifier: 7.0.2

If an executable project refers to a static library project and source of the library changes, the library is rebuilt, but the executable is not.

Reproducible: Always

Steps to Reproduce:
1. Create library project that will output a static library.
2. Create executable that uses static library.
3. Make changes to library project.
4. Try to build executable project.
Comment 1 James Blackburn CLA 2011-06-09 09:27:51 EDT
Which builder are you using? Generated makefile or internal builder?
Comment 2 Marko Mikkonen CLA 2011-06-09 14:13:58 EDT
If you mean the builders in project properties -> Builders, they are Qt makefile generator, CDT makefile builder and Scanner configuration builder.
Comment 3 Marko Mikkonen CLA 2011-06-15 06:08:05 EDT
I just realized that my CDT version was 7.0.1, NOT 7.0.2. But the when I try to install 7.0.2, the installer won't do it. Maybe I should file a new bug about this.
Comment 4 Marko Mikkonen CLA 2011-09-16 03:08:56 EDT
This bug is still present in Eclipse 8.0.