I think I remember that chain+
would properly ignore libraries that are #include
d guarded by #if
and #ifdef
conditions. The whole purpose of that +
is to do that, right?
But now on my project whatever I do LDF just gives up and includes everything anyway. I tried putting it anywhere - in main, in H, in C files. Doing #if 0
or #ifdef RANDOM_SOEMTHING
still adds the library to dep graph…
I can’t fathom the reason why LDF is inconsistent…