|
Boost Interest : |
Subject: Re: [Boost-cmake] RFC: exported targets
From: Ingmar Vanhassel (ingmar_at_[hidden])
Date: 2009-10-29 16:11:16
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.
> >>
> >> http://sodium.resophonic.com/boost-cmake/current-docs/exported_targets.html
> >
> > More documentation appears here:
> >
> > http://www.cmake.org/Wiki/CMake_2.6_Notes
> >
> > 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?
Also, some users may want to install multiple versions of boost, so I'd
shove $BOOST_VERSION in the filename too.
-- Exherbo KDE, X.org maintainer