Boost Interest :
Subject: Re: [Boost-cmake] RFC: exported targets
From: troy d. straszheim (troy_at_[hidden])
Date: 2009-10-29 18:18:12
Ingmar Vanhassel wrote:
> Excerpts from troy d. straszheim's message of Thu Oct 29 21:03:01 +0100 2009:
>> Brad King wrote:
>>> troy d. straszheim wrote:
>>>> Michael Jackson wrote:
>>>>> This is THE SINGLE IMPROVEMENT someone could make for those of us
>>>>> using CMake and are dependent on the boost libraries.
>>>> I did some work on this. CMake exported targets are really cool. This
>>>> doesn't solve the entire FindBoost.cmake problem, but it is easy.
>>> More documentation appears here:
>>> Of particular interest is the install(EXPORT) feature. It does for
>>> install trees what the export() command does for build trees.
>> Yes. This is a great cmake feature. Boost.CMake now uses this to
>> install a $PREFIX/lib/Boost.cmake file.
> Can we agree on $PREFIX/lib$LIB_SUFFIX/cmake/Boost.cmake please?
I haven't forgotten about LIB_SUFFIX. It is footnoted in the exported
targets section of the docs: