summaryrefslogtreecommitdiffstats
path: root/Help/generator/Visual Studio 10 2010.rst
diff options
context:
space:
mode:
authorNikita Nemkin <nikita@nemkin.ru>2020-11-10 21:48:05 (GMT)
committerNikita Nemkin <nikita@nemkin.ru>2020-11-12 04:45:10 (GMT)
commitc43e845d0904dce126a3de31d7a903eab39a989a (patch)
treeeede43917b3e23d6f341ee501c191afae5130fdf /Help/generator/Visual Studio 10 2010.rst
parentf6fd769ae91accd6b54400b79ec797a3870cc87a (diff)
downloadCMake-c43e845d0904dce126a3de31d7a903eab39a989a.zip
CMake-c43e845d0904dce126a3de31d7a903eab39a989a.tar.gz
CMake-c43e845d0904dce126a3de31d7a903eab39a989a.tar.bz2
Help: Add `.. versionadded` directives to generator docs
More `.. versionadded` could be added later when the features, variables and properties relevant to each generator are properly documented. Issue: #19715
Diffstat (limited to 'Help/generator/Visual Studio 10 2010.rst')
-rw-r--r--Help/generator/Visual Studio 10 2010.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/Help/generator/Visual Studio 10 2010.rst b/Help/generator/Visual Studio 10 2010.rst
index 4bf9a8f..b4376d8 100644
--- a/Help/generator/Visual Studio 10 2010.rst
+++ b/Help/generator/Visual Studio 10 2010.rst
@@ -17,13 +17,14 @@ Platform Selection
The default target platform name (architecture) is ``Win32``.
-The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set, perhaps
-via the :manual:`cmake(1)` ``-A`` option, to specify a target platform
-name (architecture). For example:
-
-* ``cmake -G "Visual Studio 10 2010" -A Win32``
-* ``cmake -G "Visual Studio 10 2010" -A x64``
-* ``cmake -G "Visual Studio 10 2010" -A Itanium``
+.. versionadded:: 3.1
+ The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set, perhaps
+ via the :manual:`cmake(1)` ``-A`` option, to specify a target platform
+ name (architecture). For example:
+
+ * ``cmake -G "Visual Studio 10 2010" -A Win32``
+ * ``cmake -G "Visual Studio 10 2010" -A x64``
+ * ``cmake -G "Visual Studio 10 2010" -A Itanium``
For compatibility with CMake versions prior to 3.1, one may specify
a target platform name optionally at the end of the generator name.