Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Header dependencies are ignored
Header dependencies are ignored [message #1423872] Mon, 15 September 2014 05:29
Paul DeRocco is currently offline Paul DeRoccoFriend
Messages: 22
Registered: April 2012
Junior Member
Running CDT 8.4 on Luna 4.4 on Ubuntu 12.04 LTS.

I've been working on a C++ project for quite a while now, which I started with Juno. There's nothing complicated about it, no references to other projects, everything in one subdirectory, just a bunch of .cpp and .h files, producing a single executable.

Never has the build system ever recognized the dependencies on header files contained within the project. If I change a header, nothing recompiles. I'm getting sick and tired of having to do a clean rebuild after any header change.

This is not the problem described in the "Not building on header file change" topic, since that's only about headers in referenced projects. And it's not the problem described in the "Wrong dependency rule in generated subdir.mk" topic, since that supposedly only happens when manually running make, not when Eclipse does the build. My problem happens when building from within Eclipse.

I can see all the .d files, and they look correct, but nothing is paying attention to them. subdir.mk appends their names to CPP_DEPS, so that looks correct, too. But the usage of this symbol must be buried inside the build system, and not in some text file that I can see.

Is it possible that I've got some sort of option set wrong? I've looked and looked, but I don't see anything that looks suspicious.
Previous Topic:Configuration "Default" uses tool-chain "MinGW GCC" that is unsupported on this
Next Topic:Persistently store global environment variables
Goto Forum:
  


Current Time: Mon Oct 14 03:27:28 GMT 2024

Powered by FUDForum. Page generated in 0.03813 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top