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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
I'm most familar with command-line tools and VS 6, so I missed that possibility.
ASKER
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.