[CMake] cmake -E create_symlink for Windows

Brandon J. Van Every bvanevery at gmail.com
Thu Aug 3 16:09:07 EDT 2006


The Cygwin cmake has "cmake -E create_symlink".   The Windows native 
cmake does not.  All the Cygwin implementation actually does is create 
shortcuts, and Cygwin appears to understand these as symlinks.  Are the 
notions of "shortcut" and "symlink" sufficiently similar, that it's 
reasonable to include this capability for Windows in general?  Or is 
Cygwin simply brighter than Windows is going to be about how to make use 
of them?

Motive: to work around the libwhatever.dll.a libwhatever.a collision 
problem in CMake 2.4.3, a symlink would be useful.  I can do this on 
Cygwin easily enough, but not on MinGW because it uses the Windows 
native CMake.


Cheers,
Brandon Van Every



More information about the CMake mailing list