No real dependency support for Visual studio 2005/08?


I don't know how people can make big projects with VS 2005/08, since it lacks anyway to specify what the dependency relation is to header files.

By this I mean, if you create a solution file, and in that file, you have multiple projects that create libs, and of course each of those libs has header files (.h).
You can say that your program has a dependency on said lib, but all that means to MSVC is that those must be compiled first.

Now, if you #include those same header files into your program, it will *NOT* recompile the relevant parts of your program if the header file isn't listed in the 'headers' folder.

There isn't a gcc -M or makedepend or gccmakedep equivalent command you can do to get the said header files into the correct place.

Your only option is a time consuming ( & error prone!) process of copying all the headers from the lib, into your main programs 'header' folder. Never mind that you don't need all of them, only some, but there is no way to determine this via a eqivalent of gcc -M command!

Am I missing something ?

[1096 byte] By [Jose12] at [2008-1-26]