27 Nov
2010
27 Nov
'10
3:19 p.m.
Claude wrote:
But, in general, how you can create a static library that "use" other library (boost::filesystem)?
I wish that those who use my library should not even link to the boost:: filesystem.
Is it possible?
There is no linking during the process of creating a static library. A Static Library is effectively a collection of object code. You would have to link your code and boost into a "dynamic" library. Or I suppose you could use the librarian to merge your object code and boosts, although I've never tried this. Jeff