[CMake] cmake -E create_symlink for Windows

Andreas Pakulat apaku at gmx.de
Mon Dec 14 08:42:53 EST 2009


On 14.12.09 14:29:06, Marcel Loose wrote:
> On Mon, 2009-12-14 at 08:23 -0500, Bill Lorensen wrote:
> > http://en.wikipedia.org/wiki/Symbolic_link#Cygwin_symbolic_links
> > 
> 
> OK, that puts us back at square one.
> 
> Why is it that CMake cannot use Windows shortcuts as an alternative to
> Unix symbolic links, whereas Cygwin can?

Becaue Cygwin emulates a complete filesystem IIRC (at least inside its
bash). The problem is not that cmake could not create a shortcut for the -E
create_symlink  call, the problem is that very few apps are able to
recognize the shortcut as symlink and act accordingly. So it simply doesn't
make any sense to create one if it only works when the user double-clicks
on it in explorer.

Andreas

-- 
Keep it short for pithy sake.


More information about the CMake mailing list