mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
Drop Visual Studio 12 2013 generator
This generator has been deprecated since CMake 3.28. Remove it.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||
|
||||
if(NOT ${CMAKE_GENERATOR} MATCHES "Visual Studio ([^9]|[9][0-9])")
|
||||
if(NOT ${CMAKE_GENERATOR} MATCHES "Visual Studio")
|
||||
message(FATAL_ERROR
|
||||
"C# is currently only supported for Microsoft Visual Studio 12 2013 and later.")
|
||||
"C# is currently only supported by Visual Studio generators.")
|
||||
endif()
|
||||
|
||||
include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake)
|
||||
|
||||
@@ -188,9 +188,8 @@ ensure generated files will receive the required settings.
|
||||
itself. This property is only meaningful for
|
||||
:ref:`Makefile <Makefile Generators>`,
|
||||
:ref:`Ninja <Ninja Generators>`, :generator:`Xcode`, and
|
||||
:ref:`Visual Studio <Visual Studio Generators>`
|
||||
(:generator:`Visual Studio 12 2013` and above) generators. Default value is
|
||||
``FALSE``.
|
||||
:ref:`Visual Studio <Visual Studio Generators>` generators.
|
||||
Default value is ``FALSE``.
|
||||
|
||||
.. versionadded:: 3.21
|
||||
Added the support of :generator:`Xcode` generator.
|
||||
@@ -352,9 +351,8 @@ as well as ``SWIG``:
|
||||
itself. This variable is only meaningful for
|
||||
:ref:`Makefile <Makefile Generators>`,
|
||||
:ref:`Ninja <Ninja Generators>`, :generator:`Xcode`, and
|
||||
:ref:`Visual Studio <Visual Studio Generators>`
|
||||
(:generator:`Visual Studio 12 2013` and above) generators. Default value is
|
||||
``FALSE``.
|
||||
:ref:`Visual Studio <Visual Studio Generators>` generators.
|
||||
Default value is ``FALSE``.
|
||||
|
||||
Source file property ``USE_SWIG_DEPENDENCIES``, if not defined, will be
|
||||
initialized with the value of this variable.
|
||||
|
||||
Reference in New Issue
Block a user