@rem graph, which makes it the one tool here where emulation is actually paid\r
@rem over and over, and ninja-winarm64.zip is a native build. Worth having.\r
@rem\r
-@rem Both are on the machine/user PATH after install, so a bare `cmake -G Ninja`\r
-@rem picks these up. Inside a VS Developer prompt the VS copies may come first;\r
-@rem that is fine for cmake (same architecture) and is the case to watch for ninja.\r
+@rem Which ninja wins inside a VS Developer Command Prompt: the native one. VS\r
+@rem adds its copy from Common7\Tools\vsdevcmd\ext\cmake.bat with\r
+@rem set "PATH=%PATH%;...\CMake\bin;...\CMake\Ninja"\r
+@rem which APPENDS, so the VS directories sit at the very end of the composed\r
+@rem PATH, behind every machine and user entry. setup-windows-no-uac.ps1 then\r
+@rem pins the native ninja's directory to the FRONT of the user PATH so the\r
+@rem margin does not depend on two append orders staying as they are.\r
winget install Kitware.CMake\r
winget install Ninja-build.Ninja\r
\r