summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2018-05-03 04:57:08 (GMT)
committerMichael Stürmer <michael.stuermer@schaeffler.com>2018-05-15 07:00:31 (GMT)
commit71a033616a748d1bb4286ca0667cedf6b57df217 (patch)
tree685abddcc1baf6e244770125579c0b07806d974d /Help/variable
parentd793b482d914e0d8706b901dceeb1b5f0c405413 (diff)
downloadCMake-71a033616a748d1bb4286ca0667cedf6b57df217.zip
CMake-71a033616a748d1bb4286ca0667cedf6b57df217.tar.gz
CMake-71a033616a748d1bb4286ca0667cedf6b57df217.tar.bz2
added CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION variable
Fixes: #17955
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION.rst b/Help/variable/CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION.rst
new file mode 100644
index 0000000..124fefe
--- /dev/null
+++ b/Help/variable/CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION.rst
@@ -0,0 +1,16 @@
+CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION
+-------------------------------------
+
+Default value for :prop_tgt:`DOTNET_TARGET_FRAMEWORK_VERSION`
+property of targets.
+
+This variable is used to initialize the
+:prop_tgt:`DOTNET_TARGET_FRAMEWORK_VERSION` property on all
+targets. See that target property for additional information.
+
+Setting ``CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION`` may be necessary
+when working with ``C#`` and newer .NET framework versions to
+avoid referencing errors with the ``ALL_BUILD`` CMake target.
+
+This variable is only evaluated for :ref:`Visual Studio Generators`
+VS 2010 and above.