Colon in permission file name in Windows
In CMake 3.15.3 there is a problem because <installed_file_name>:cmake_mode_t file will be generated if:
- System is not UNIX
- CMAKE_SYSTEM_NAME has been set (manually)
- CMAKE_CROSSCOMPILING has been activated (CMake does it if CMAKE_SYSTEM_NAME has been set)
This file will be generated to preserve UNIX permissions but there is an issue with the file name: It contains a colon.
Please replace the colon with something other (dot, underscore, hyphen or something) because many tools does not work if a file name contains a colon (for instance eclipse and FreeCommander XE). In windows a colon is used to seperate the drive name from the path.
(One part of the colon stuff is implemented in cmFileCopier.cxx from the 73rd line)