I am developing a program in VS C++ 2008.
Right now, I have a huge list of dll and lib dependencies and I am adding some more. I worry that when I need to update a dependency by building from source (where I have to manually replace built dlls and libs in the correct place), if I accidently forgot to replace something or vice versa, I may run into a compile and/or runtime problem. And finding which place goes wrong can be a bit difficult.
So is there some sort of program or method out there that can suit this task to ease building a program with many updating dependencies?
You could add scripts as post-build steps into your DLL projects which automatically copy the results into a common directory (something like
$(SolutionDir)$(ConfigurationName)might be fine, unless you use different projects configurations for the same solution configuration). Or you just set all the projects' output directories to such a common directory.Then, when you build the whole solution, you know you have the latest versions of all these files in that directory.