<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>While this works for a CI like Appveyor it doesn't work on a bit more complex build environment where paths can be longer. Unfortunately MsBuild doesn't handle well the situation when paths exceed MAX_PATH. Here is an example:</div><div><br></div><div>- Mesa source code is in <span>C:\Software\DEVELO~1\projects\mesa\mesa</span></div><div><span><br></span></div><div><span>- build system is generated under source directory in build\windows-x86_64.</span></div><div><br><span></span></div><div>When the build gets to zlib, build fails with paths too long error notably due to the overly long folder PATH: <span>C:\Software\Development\projects\mesa\mesa\build\windows-x86_64\subprojects\zlib-1.2.11\Windows resource for file 'subprojects__zlib-1.2.11__win32_zlib1.rc'@cus\Windows .F68FD0C4.tlog.<br></span></div><div><span><br></span></div><div><span></span><span></span><br></div></div></body></html>