On Sun, Apr 19, 2009 at 3:42 PM, Mike Jackson
<mike.jack...@bluequartz.net>wrote:

> I think at this point the FindBoost.cmake file is just going to have
> to have the same options that BJam has for building boost in all of
> its variations:
>
> Shared or Static libraries
> Debug or Release
> Static or Dynamic C++ Runtime Link
>

I like your idea obviously, I'm just trying to think of a way to do it
without deprecating Boost_USE_STATIC_LIBS.  The most straightforward
solution would be to require the user to define Boost_USE_STATIC_RUNTIME or
something like that to get the "-s", but this would also change behaviour on
WIN32.  This doesn't seem acceptable to me.


> Just another thing to add to the mix of possibilities.
>
> What would _really_ be helpful is if we could simply get the current
> Boost build system (BJam) to just create a "UseBoost.cmake" file then
> all of these issues would just go away. Wouldn't that just be a
> Utopian solution. ;-)


This might be helpful but could also backfire.  We have a giant directory of
boost builds at work, for example.  Depending on the project we're using
them for sometimes we need shared libraries and sometimes static.

-- 
Philip Lowman
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to