This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
5c5c1e3c7d
CMake
/
Tests
/
RunCMake
/
CommandLine
/
E_create_symlink-missing-di...
2 lines
2 B
Plaintext
Raw
Normal View
History
Unescape
Escape
cmake: Improve '-E create_symlink' edge case handling (#14713) The logic added by commit ffc0b5e4 (Overwrite the symlink if it already exists, 2007-02-15) does not recognize and remove existing broken links before replacing them. Improve the logic to remove any existing destination file or link (but not directory). On failure, report an error message explaining why the existing path could not be removed or the new one could not be created. Add a RunCMake.CommandLine test to cover 'cmake -E' cases. Start with test cases covering 'cmake -E create_symlink' behavior on UNIX platforms.
2014-01-20 22:50:31 +04:00
1