file(CREATE_LINK): COPY_ON_ERROR doesn't handle directories
I tried today to switch to symbolic links instead of copying our testdata. Sadly the fallback option doesn't work, as
file(CREATE_LINK ${dataDir} ${dataSymDir} COPY_ON_ERROR SYMBOLIC)
Just creates an empty directory on Windows (cmSystemTools::cmCopyFile
is used, but cmSystemTools::CopyADirectory
would be required in case a symlink is request with <original>
pointing to a directory).