[CMake] Can FindBoost.cmake support STLport

Michael Jackson mike.jackson at bluequartz.net
Fri Feb 13 08:46:54 EST 2009


Patch attached and also added to the bug report. Actually since it was  
part of the "ABI" tag it was fairly simple to fix. Now wee need some  
volunteers to test the patch/fix.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindBoost.cmake.diff
Type: application/octet-stream
Size: 1186 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090213/99d8e1e0/attachment.obj>
-------------- next part --------------

_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



On Feb 12, 2009, at 11:53 PM, Philip Lowman wrote:

> On Wed, Feb 11, 2009 at 8:34 PM, unixcc <unixcc at gmail.com> wrote:
> Today, I compiled two Boost libraries with following command:
>
> bjam --with-thread --with-date_time stdlib=stlport --build- 
> type=complete stage
>
> So, I got following libraries
>
> boost_date_time-vc80-mt-gdp-1_38.dll
> <...>
> libboost_thread-vc80-mt-sp.lib
>
> Thanks for attaching the libraries.
>
> I've opened a bug for this issue because unfortunately fixing it  
> will be non-trivial and necessitate cleaning up the mess below  
> without introducing any regressions.  I think this is something that  
> can be fixed post 2.6.3.  Please create a bug tracker account and  
> "Monitor" the following issue as testing would obviously be  
> appreciated once a patch is made available.
>
> http://public.kitware.com/Bug/view.php?id=8529
>
> Also we should be able to add options for "nonstandard IOstreams"  
> and "python debug" at the same time.
>
>     FIND_LIBRARY(Boost_${UPPERCOMPONENT}_LIBRARY_RELEASE
>         NAMES  ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_COMPILER}${_boost_MULTITHREADED}-${Boost_LIB_VERSION}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_COMPILER}${_boost_MULTITHREADED}${_boost_STATIC_TAG}-$ 
> {Boost_LIB_VERSION}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_MULTITHREADED}-${Boost_LIB_VERSION}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_MULTITHREADED}${_boost_STATIC_TAG}-${Boost_LIB_VERSION}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_MULTITHREADED}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_MULTITHREADED}${_boost_STATIC_TAG}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}
>         HINTS  ${_boost_LIBRARIES_SEARCH_DIRS}
>     )
>
>     FIND_LIBRARY(Boost_${UPPERCOMPONENT}_LIBRARY_DEBUG
>         NAMES  ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_COMPILER}${_boost_MULTITHREADED}-${_boost_ABI_TAG}-$ 
> {Boost_LIB_VERSION}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_COMPILER}${_boost_MULTITHREADED}${_boost_STATIC_TAG}$ 
> {_boost_ABI_TAG}-${Boost_LIB_VERSION}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_MULTITHREADED}-${_boost_ABI_TAG}-${Boost_LIB_VERSION}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_MULTITHREADED}${_boost_STATIC_TAG}${_boost_ABI_TAG}-$ 
> {Boost_LIB_VERSION}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_MULTITHREADED}-${_boost_ABI_TAG}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}$ 
> {_boost_MULTITHREADED}${_boost_STATIC_TAG}${_boost_ABI_TAG}
>                ${Boost_LIB_PREFIX}boost_${COMPONENT}-${_boost_ABI_TAG}
>         HINTS  ${_boost_LIBRARIES_SEARCH_DIRS}
>     )
>
>
> -- 
> Philip Lowman



More information about the CMake mailing list