div>
<p>If the value of <code class="docutils literal notranslate"><span class="pre">CMAKE_GENERATOR_INSTANCE</span></code> is not specified explicitly
by the user or a toolchain file, CMake queries the Visual Studio Installer
to locate VS instances, chooses one, and sets the variable as a cache entry
to hold the value persistently.  If an environment variable of the form
<code class="docutils literal notranslate"><span class="pre">VS##0COMNTOOLS</span></code>, where <code class="docutils literal notranslat