cmake and RPATH

Alexander Dymo adymo at mksat.net
Sun Feb 19 15:57:41 CET 2006


On Friday 17 February 2006 00:01, Brad King wrote:
> 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)

Oh, cool indeed :) We could easily make an option for that in KDevelop.


More information about the Kde-buildsystem mailing list