Link to home
Start Free TrialLog in
Avatar of romanm
romanm

asked on

How to create one static library that includes other libs?

I am making a static library A.LIB, which uses a function from another static library B.LIB.

How can I build library A.LIB so that when I use it I do not need to have B.LIB?
I am using Visual studio 2005

Thanks
ASKER CERTIFIED SOLUTION
Avatar of DanRollins
DanRollins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of romanm
romanm

ASKER

True, that is one way, and in a simple case easy to do.
However for the MS Visual Studio, in the Properties -> Librarian, set "link library dependencies" to "yes" and that will do all the hard work for you.
True... Using Properties -> Librarian should do the heavy lifting.  
I'm most familar with command-line tools and VS 6, so I missed that possibility.