Ninja: Support unconditional object path shortening on Windows
I am running into a MAX_PATH
issue on Windows where CMake is able to write under a substituted drive without needing to shorten the path, but later (after CMake) the same path is used in its full expanded form and exceeds MAX_PATH
. It would help to have CMake unconditionally use shortened object paths.
The relevant code is around cmLocalGenerator::GetObjectFileNameWithoutTarget
.
Related to: #15859
Edited by Tristan Labelle