On 30. Sep, 2010, at 10:51 , Christoph Groth wrote:

> Dear cmake experts,
> 
> I like to use GNU stow to install self-compiled packages on my system.
> For this to work best, I have to be able to specify during package
> configuration a different runtime location (the directory prefix the
> package will "think" it is installed to) and installation location (the
> directory prefix which will be actually used for installation).
> 
> This way I can install all the package files under the prefix
> $HOME/stow/package-name and then tell stow to make symlinks to the
> runtime location (prefix $HOME).
> 
> This procedure allows easy removal and replacement of packages.
> 
> I was not able to find out how to specify different installation and
> runtime locations with cmake.  Any hints are warmly appreciated.
> 
> Thanks
> Christoph

Why must your program know anything about the $HOME prefix? After all, it's 
only symlinked there...

Michael

--
There is always a well-known solution to every human problem -- neat, 
plausible, and wrong.
H. L. Mencken

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to