I want to develop a lib, or dll in one project (CHILD), the create another project (PARENT) which will use the output of CHILD.
I setup a project which produces a dll, the create the PARENT project and add the existing CHILD project to the PARENT solution. If I place an #include statement in the PARENT project like this:
#include "CHILD.h"
the compiler says it cannot find the file. Doesnt Visual Studio assume that I want to use my CHILD project's header and source files in the project I just brought it into?
How do I keep two separate Visual Studio projects, but have a solution will contains they both, and will use all the header and source files when compiling without explicitly adding the other project's directory to the 'include headers directory'?
Thanks,
Matt
Start Free Trial