cmake and RPATH
Leo Savernik
l.savernik at aon.at
Fri Feb 17 18:05:08 CET 2006
Am Donnerstag, 16. Februar 2006 23:55 schrieb Brad King:
[...]
> I think Leo is saying that if there is no RPATH for the build tree then
> targets will have to be relinked to be given the proper RPATH for the
> install tree. Users should not have to load a shell script to set their
> environment to run an installed application.
That's exactly what I meant.
>
> The new CMake feature I describe in
>
> http://mail.kde.org/pipermail/kde-buildsystem/2006-February/001343.html
>
> should open up several options.
This is good news.
Alexander, I suggest that we default to install-dir-RPATH (or RUNPATH if
available) by default. At least I always install the stuff before I attempt
to run it. Are there kde developers who run apps from the builddir?
For kdevelop-created projects, we could enable relinking to make it runnable
from builddir.
mfg
Leo
More information about the Kde-buildsystem
mailing list