Bug 348887 - Executable is not relinked when it refers to library project and library is rebuilt
Summary: Executable is not relinked when it refers to library project and library is r...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 09:14 EDT by Marko Mikkonen CLA
Modified: 2020-09-04 15:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.