cmake and RPATH

Alexander Neundorf neundorf at kde.org
Sun Feb 19 17:47:09 CET 2006


On Sunday 19 February 2006 13:14, Thiago Macieira wrote:
> Brad King wrote:
> [snip]
>
> >It will be up to the CMake code in KDE to determine which of the above
> >cases to use in a particular build tree.  One simple solution is
> >
> >option(KDE4_BUILD_FOR_DEVELOPER "Enable running from build tree." OFF)
> >if(NOT KDE4_BUILD_FOR_DEVELOPER)
> >   set(CMAKE_BUILD_WITH_INSTALL_RPATH 1)
> >endif(NOT KDE4_BUILD_FOR_DEVELOPER)
>
> That sounds great!
>
> Thanks for the work.

I'll make it configurable in the kde cmake files when I'M back from vacation.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list