|Subject:||Have to include innecessary static libraries|
|Posted by:||DJM (D…@discussions.microsoft.com)|
|Date:||Mon, 2 Jun 2008|
We have a static library of common code. Some of these functions rely on
other libraries e.g. snmpapi.lib, wldap32.lib.
Every project that uses this common library has to include all the static
libraries in the project settings in Linker->Input->Addition Dependencies
regardless of whether they are using a function that uses this library or not.
This means we have to add alot of libraries and if we want to add a new one
we have to go through a long list of projects and add the new one to them all.
I thought we would of just had to add the libraries to the pojects that use
them, can we?
Is there a way to add the libraries to all the projects without having to do
it manually to all of them?
Thanks for your time