https://github.com/Kitware/CMake
Raw File
Tip revision: 20a41aa589d4418f9ac46fc8c0402162d1d82873 authored by Brad King on 01 March 2019, 14:25:27 UTC
CMake 3.14.0-rc3
Tip revision: 20a41aa
CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION.rst
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.
back to top