[CMake] Can't get Boost_${COMPONENT}_LIBRARY to work

E. Wing ewmailing at gmail.com
Mon Mar 2 23:53:17 EST 2009


> Do you feel that I'm better off using Boost_LIBRARIES?
>>
>
> If you're comfortable with maintaining the dependencies where they are
> needed I would recommend doing it the way you were planning on and use
> Boost_<COMPONENT>_LIBRARY, it also handles the debug/optimized links for
> Visual Studio.  I only mentioned Boost_LIBRARIES so you knew it existed and
> a partial theory as to why this documentation bug probably hasn't cropped up
> on the mailing list before.  There actually are a couple of good reasons not
> to use Boost_LIBRARIES (linking time would in theory be faster, if done
> correctly you would know at a glance which libraries of yours depend on
> which boost libraries).
>
> That being said most people probably don't really care. :)
>


Thanks for your insights. I guess I'll go with Boost_<COMPONENT>_LIBRARY for
now since its working now.

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090302/6c14888f/attachment.htm>


More information about the CMake mailing list