Build dependencies: Makefile can do it .. how Vis C++?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got a Visual C++ solution containing two projects: A and B. A depends
on B. When I change a source code file in B, then try to build A, I want B
to get built automatically before A. How is this done?

I tried putting B's output target file (foo.lib) in A's project properties
"dependencies" list under Properties > Linker > Input > Additional
Dependencies; but that did not work.

Thanks in advance for any help,
neal
 
noleander said:
I've got a Visual C++ solution containing two projects: A and B. A
depends on B. When I change a source code file in B, then try to
build A, I want B to get built automatically before A. How is this
done?

I tried putting B's output target file (foo.lib) in A's project
properties "dependencies" list under Properties > Linker > Input >
Additional Dependencies; but that did not work.

Project|Project Dependencies... from the menu.

-cd
 
Back
Top