Header dependencies are ignored [message #1423872] |
Mon, 15 September 2014 05:29 |
Paul DeRocco 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.
|
|
|
Powered by
FUDForum. Page generated in 0.03813 seconds