$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] BOOST fylesystem and staic library
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2010-11-27 10:19:12
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