[CMake] Boost Components

Andreas Pakulat apaku at gmx.de
Thu May 8 02:01:10 EDT 2008


On 08.05.08 08:27:11, Surya Kiran Gullapalli wrote:
> Hello all,
> with cmake-2.6 we can specify what all boost components you want to link
> with. Also you can specify whether to use static libraries or dynamic
> libraries by setting the flag Boost_USE_STATIC_LIBS.
> 
> This will force cmake to link the application with the specified boost
> components statically..
> 
> Can we specify some thing like, link some libraries statically and some
> dynamically ?

No, whats the reason you want to do that? 

Andreas

PS: There's a workaround: just replace the suffix in the resulting
variables with the one for static libs.

-- 
Your fly might be open (but don't check it just now).


More information about the CMake mailing list