• Jon Chronopoulos's avatar
    cmake: Add '-E create_symlink' support on Windows · afb7f6e4
    Jon Chronopoulos authored
    The allows `-E create_symlink` to work on Windows.  It utilizes
    `uv_fs_symlink`.  I am still unsure exactly which Windows platforms will
    work without requiring Administrator privileges or needing a user/group
    with the "Create Symbolic Links" User Rights.  It does work with my
    Windows 10 Pro with Developer Mode turned on.  In the test suite check
    that the symlink either worked or failed with a permissions error.
    Use recent changes in cmSystemTools::FileExists to check that a symlink
    is broken.
E_create_symlink-broken-replace-check.cmake 218 Bytes