Dependencies vs. References

  • Thread starter Thread starter Rob Haynes
  • Start date Start date
R

Rob Haynes

In VC++ .Net 2003, how check or un-check boxes in the "Project Dependencies"
dialog? Nothing happens when I click the check boxes.0

If Project A needs Project B and B is a Reference of A, A gets recompiled
even if I change only a .cpp file in B.

When I originally converted from VC++ 6.0, B was only a "dependent" of A -
not a reference. If I changed only a .cpp file in B, then only that .cpp
file would be recompiled before the link. In my current <large> project I'm
changing one of the underpinnings which is currently referenced. This
causes a huge recompile every time I change a .cpp file.
 
It is never a good idea to let two components depend on each other.
Better extract common types to a third lib and reference it from component A
and B.


Good look, Sebastian.
 
Back
Top