diff options
author | Brad King <brad.king@kitware.com> | 2022-09-27 15:05:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-09-27 15:45:50 (GMT) |
commit | 6c1337cb79341ec0f9aac617419b6311b6d601af (patch) | |
tree | b7d19905b8138ef4b4e98c413cbf80e154f157fa /Help/generator | |
parent | 5faf145a5b31fc59bf3a9730efbf73d70faea50d (diff) | |
download | CMake-6c1337cb79341ec0f9aac617419b6311b6d601af.zip CMake-6c1337cb79341ec0f9aac617419b6311b6d601af.tar.gz CMake-6c1337cb79341ec0f9aac617419b6311b6d601af.tar.bz2 |
Deprecate Visual Studio 11 2012 generator
Update documentation to mark the generator deprecated. Add a warning at
the end of generation plus an option to turn off the warning.
Diffstat (limited to 'Help/generator')
-rw-r--r-- | Help/generator/Visual Studio 10 2010.rst | 2 | ||||
-rw-r--r-- | Help/generator/Visual Studio 11 2012.rst | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/Help/generator/Visual Studio 10 2010.rst b/Help/generator/Visual Studio 10 2010.rst index ee44514..888164f 100644 --- a/Help/generator/Visual Studio 10 2010.rst +++ b/Help/generator/Visual Studio 10 2010.rst @@ -3,6 +3,6 @@ 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 11 2012` +to build with VS 10 2010 tools using the :generator:`Visual Studio 12 2013` (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 adbd1af..4e7195c 100644 --- a/Help/generator/Visual Studio 11 2012.rst +++ b/Help/generator/Visual Studio 11 2012.rst @@ -1,7 +1,14 @@ Visual Studio 11 2012 --------------------- -Generates Visual Studio 11 (VS 2012) project files. +Deprecated. Generates Visual Studio 11 (VS 2012) project files. + +.. note:: + This generator is deprecated and will be removed in a future version + of CMake. It will still be possible to build with VS 11 2012 tools + using the :generator:`Visual Studio 12 2013` (or above) generator + with :variable:`CMAKE_GENERATOR_TOOLSET` set to ``v110``, or by + using the :generator:`NMake Makefiles` generator. For compatibility with CMake versions prior to 3.0, one may specify this generator using the name "Visual Studio 11" without the year component. |