Symbolic Links
Alexander Neundorf
neundorf at kde.org
Sun Jan 21 15:32:44 CET 2007
On Sunday 21 January 2007 14:51, Allen Winter wrote:
> Howdy,
>
> In the new macro for installing the handbooks I have some
> stuff to create symbolic links for UNIX only.
> $HTML_INSTALL_DIR/en/app/common -> $HTML_INSTALL_DIR/en/common
>
> Apparently cmake does not provide a symlink command (that I can find).
cmake -E create_symlink
> I'm not sure how to create the symlinks for windows and mac.
On Mac it should also create a symlink I guess.
I don't know what it does under Windows, maybe it just copies.
> So I need help with that.
You could do execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ...)
And maybe put this into a install(CODE ... ) 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