diff options
author | Brad King <brad.king@kitware.com> | 2024-11-14 14:59:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-11-14 15:03:32 (GMT) |
commit | d44a201004ab685166613f8ce97d3b629fefc18b (patch) | |
tree | 806284942f328fbc917a8b2047a57a973924304d | |
parent | 6a2590498388a65e211cb81e4b0cea705d7373bf (diff) | |
download | CMake-d44a201004ab685166613f8ce97d3b629fefc18b.zip CMake-d44a201004ab685166613f8ce97d3b629fefc18b.tar.gz CMake-d44a201004ab685166613f8ce97d3b629fefc18b.tar.bz2 |
Help: Clarify instructions for using older VS toolsets with newer VS versions
Clarify that the newer version of VS must also be installed to use its
corresponding CMake generator.
Issue: #26446
-rw-r--r-- | Help/generator/Visual Studio 10 2010.rst | 7 | ||||
-rw-r--r-- | Help/generator/Visual Studio 11 2012.rst | 5 | ||||
-rw-r--r-- | Help/generator/Visual Studio 12 2013.rst | 5 | ||||
-rw-r--r-- | Help/generator/Visual Studio 9 2008.rst | 8 |
4 files changed, 14 insertions, 11 deletions
diff --git a/Help/generator/Visual Studio 10 2010.rst b/Help/generator/Visual Studio 10 2010.rst index a36046a..8b7e31d 100644 --- a/Help/generator/Visual Studio 10 2010.rst +++ b/Help/generator/Visual Studio 10 2010.rst @@ -3,6 +3,7 @@ Visual Studio 10 2010 Removed. This once generated Visual Studio 10 2010 project files, but the generator has been removed since CMake 3.25. It is still possible -to build with VS 10 2010 tools using the :generator:`Visual Studio 14 2015` -(or above) generator with :variable:`CMAKE_GENERATOR_TOOLSET` set to -``v100``, or by using the :generator:`NMake Makefiles` generator. +to build with the VS 10 2010 toolset by also installing VS 2015 (or above) +and using the :generator:`Visual Studio 14 2015` (or above) generator with +:variable:`CMAKE_GENERATOR_TOOLSET` set to ``v100``, +or by using the :generator:`NMake Makefiles` generator. diff --git a/Help/generator/Visual Studio 11 2012.rst b/Help/generator/Visual Studio 11 2012.rst index 5ded24c..99048bd 100644 --- a/Help/generator/Visual Studio 11 2012.rst +++ b/Help/generator/Visual Studio 11 2012.rst @@ -3,6 +3,7 @@ Visual Studio 11 2012 Removed. This once generated Visual Studio 11 2012 project files, but the generator has been removed since CMake 3.28. It is still possible -to build with VS 11 2012 tools using the :generator:`Visual Studio 14 2015` -(or above) generator with :variable:`CMAKE_GENERATOR_TOOLSET` set to ``v110``, +to build with the VS 11 2012 toolset by also installing VS 2015 (or above) +and using the :generator:`Visual Studio 14 2015` (or above) generator with +:variable:`CMAKE_GENERATOR_TOOLSET` set to ``v110``, or by using the :generator:`NMake Makefiles` generator. diff --git a/Help/generator/Visual Studio 12 2013.rst b/Help/generator/Visual Studio 12 2013.rst index 8d3b2c8..6589072 100644 --- a/Help/generator/Visual Studio 12 2013.rst +++ b/Help/generator/Visual Studio 12 2013.rst @@ -3,6 +3,7 @@ Visual Studio 12 2013 Removed. This once generated Visual Studio 12 2013 project files, but the generator has been removed since CMake 3.31. It is still possible -to build with VS 12 2013 tools using the :generator:`Visual Studio 14 2015` -(or above) generator with :variable:`CMAKE_GENERATOR_TOOLSET` set to ``v120``, +to build with the VS 12 2013 toolset by also installing VS 2015 (or above) +and using the :generator:`Visual Studio 14 2015` (or above) generator with +:variable:`CMAKE_GENERATOR_TOOLSET` set to ``v120``, or by using the :generator:`NMake Makefiles` generator. diff --git a/Help/generator/Visual Studio 9 2008.rst b/Help/generator/Visual Studio 9 2008.rst index 01d5af2..a5d953a 100644 --- a/Help/generator/Visual Studio 9 2008.rst +++ b/Help/generator/Visual Studio 9 2008.rst @@ -3,7 +3,7 @@ Visual Studio 9 2008 Removed. This once generated Visual Studio 9 2008 project files, but the generator has been removed since CMake 3.30. It is still possible -to build with VS 9 2008 tools using the :generator:`Visual Studio 14 2015` -generator (or above, and with VS 10 2010 also installed) with -:variable:`CMAKE_GENERATOR_TOOLSET` set to ``v90``, or by using -the :generator:`NMake Makefiles` generator. +to build with the VS 9 2008 toolset by also installing VS 10 2010 and +VS 2015 (or above) and using the :generator:`Visual Studio 14 2015` +generator (or above) with :variable:`CMAKE_GENERATOR_TOOLSET` set to ``v90``, +or by using the :generator:`NMake Makefiles` generator. |