Creating a symlink when installing
David Faure
faure at kde.org
Mon Mar 27 20:52:37 CEST 2006
On Monday 27 March 2006 20:04, William A. Hoffman wrote:
> At 12:56 PM 3/27/2006, David Faure wrote:
> >I can't find it on a quick glance in the cmake docs... how do I create a symlink on installing?
> >(e.g. we need it for "ln -s crystalsvg default.kde").
>
> ${CMAKE_COMMAND} -E create_symlink old new
>
>
>
> >Hmm, is this not available because windows doesn't support it?
>
> The above will not be available on windows, and will produce an
> error.
Thanks; I see how to make a custom command that will create a symlink,
but how do I ensure that it happens during "make install"?
ADD_CUSTOM_COMMAND talks about building, not about installing.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-buildsystem
mailing list