Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Conditional Dependency Scanning issue

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
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.

#343685


#197989
 
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic