summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeLiteGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-09 13:53:16 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-09 14:09:52 (GMT)
commitc7a319ab057172071bf8fb909c4498ca87b1235a (patch)
tree7ae61249febff2785b714ab022e816b1abed830c /Source/cmExtraCodeLiteGenerator.cxx
parent4689d16e8aa90e57a8456357251b6575131529d7 (diff)
downloadCMake-c7a319ab057172071bf8fb909c4498ca87b1235a.zip
CMake-c7a319ab057172071bf8fb909c4498ca87b1235a.tar.gz
CMake-c7a319ab057172071bf8fb909c4498ca87b1235a.tar.bz2
install(EXPORT): Fix support for mid-length install destinations on Windows
The implementation of `install(EXPORT)` generates files into a staging directory for later installation. We use the full install destination in the path to the staging directory to avoid collisions. In order to avoid exceeding maximum path lengths (especially on Windows) we compute a hash of the install destination when it is too long. Fix this logic to account for the length of the file name(s) when deciding whether to switch to the hashed name. Reported-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
Diffstat (limited to 'Source/cmExtraCodeLiteGenerator.cxx')
0 files changed, 0 insertions, 0 deletions