Creating a symlink when installing

Alexander Neundorf neundorf at kde.org
Mon Mar 27 21:04:59 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

To do this during installing, I think an INSTALL(SCRIPT ...) is required, 
which executes the above command.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list