mirror of
https://github.com/reactos/CMake.git
synced 2025-02-12 14:58:45 +00:00
![Brad King](/assets/img/avatar_default.png)
Visual Studio 2017 supports multiple instances installed on a single machine. We use the Visual Studio Installer tool to enumerate instances and select one. Once we select an instance for a given build tree, save the result in `CMAKE_GENERATOR_INSTANCE` so we can re-configure the tree with the same instance on future re-runs of CMake. Fixes: #17268
9 lines
342 B
ReStructuredText
9 lines
342 B
ReStructuredText
generator-instance
|
|
------------------
|
|
|
|
* A :variable:`CMAKE_GENERATOR_INSTANCE` variable was introduced
|
|
to hold the selected instance of the generator's corresponding
|
|
native tools if multiple are available. This is used by the
|
|
:generator:`Visual Studio 15 2017` generator to hold the
|
|
selected instance of Visual Studio persistently.
|