This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 134524 - Add source - header dependencies to generated makefiles
Summary: Add source - header dependencies to generated makefiles
Status: RESOLVED DUPLICATE of bug 134806
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 14:30 UTC by Vladimir Kvashin
Modified: 2008-05-26 16:51 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2008-05-05 14:30:29 UTC
Now, if user changes a header file and presses "Build", source files that depend on the changed files aren't rebuilt.
It would be fine if they did (in managed projects).

Now in such a situation, the only remedy is full rebuild of the entire project, which isn't very convenient.

Some users claim that Code::Blocks and KDevelop has this capability.

This obviously concerns only managed projects.
Comment 1 Vladimir Kvashin 2008-05-05 14:32:03 UTC
Here is a link to the related discussion on a Linux forum
(unfortunately, in Russian only)
http://www.linux.org.ru/view-message.jsp?msgid=2714497&lastmod=1209911559690
Comment 2 Vladimir Kvashin 2008-05-05 14:35:39 UTC
I believe that's doable; for example, language model tracks such dependencies:
as soon as a header is changed, the source files that (directly or indirectly) includes this headers
are reparsed.

Design might be as follows: declare an SPI in project bridge (cnd.api.project), that allows project system getting
dependency information; implement this SPI on the language model site; use this info in the project system.
Comment 3 Vladimir Kvashin 2008-05-26 16:51:18 UTC

*** This issue has been marked as a duplicate of 134806 ***