Dependencies vs. References

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.
 
S

Sebastian Dau

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top