cmake and RPATH
Brad King
brad.king at kitware.com
Thu Feb 16 16:21:58 CET 2006
Thiago Macieira wrote:
> So, let me repeat: in order to support proper build, cmake has to either:
> 1) enable --enable-new-dtags
> or
> 2) relink
>
> There is no other solution that I can see. And also note that, since
> option #1 may not be available in all platforms, cmake has to support
> option #2 anyways.
>
> Which binary cmake chooses to relink, that's its own choice. It could
> relink the binary it install or it could relink the one you try to run
> before installing. It could also have a "developer mode" in which it will
> build both.
FYI, I've been working on an implementation in CMake to relink targets
with an install-tree RPATH before installing. This is needed even if
you don't want any RPATH in the install tree to remove the RPATH that
points to the build tree.
-Brad
More information about the Kde-buildsystem
mailing list