if a requires c then c is a dependency of a no matter what. so you need to add c as a dep of a. relying on b having a transitive is asking for trouble as b might change to not depend on c and then you are borked
On 15 April 2011 16:02, Phillip Hellewell <[email protected]> wrote: > Apologies if this has been asked before. Suppose I have A -> B -> C. > Is there any way to make A depend on B as optional, without making C > optional? > > I know I can add an explicit dependency of A -> C, but I'm wondering > if there's a "shortcut" / "easier way". > > The scenario at my work is A is a dll, B is a static lib, and C is a > dll. Anyone depending on A needs A and C, but not B because it gets > linked into A. > > Thanks, > Phillip > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
