This is about Eclipse CDT framework. I need some help on Conditional dependency scanning issue.
Below is a code snippet where dependency scanning is failing.
I have this structure in test.c file. When i build it for first time, it generates a dependency file test.d.
Depending upon the status of macro ABCD, it adds the entry in test.d file.
e.g. If ABCD is defined then test.d contains entry for a.h In other case it adds b.h
Now once the dependency file is generated, and i go to Managed Build Settings page, and define/remove one macro ABCD, my project gets rebuilt but dependency files does not get deleted automatically.
For reference, below are some of the links of similar bugs.