diff options
author | Christian Maaser <christian.maaser@thalesgroup.com> | 2013-06-14 11:28:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-06-14 12:09:00 (GMT) |
commit | cfe6300a41392b79d95774c2778d33a55deaed48 (patch) | |
tree | ecdbb9a929ed67af7e2d6d3274a8447803e26822 /Source/cmTarget.cxx | |
parent | 82771f186220b45a9aaf10ed416f1df135e56c36 (diff) | |
download | CMake-cfe6300a41392b79d95774c2778d33a55deaed48.zip CMake-cfe6300a41392b79d95774c2778d33a55deaed48.tar.gz CMake-cfe6300a41392b79d95774c2778d33a55deaed48.tar.bz2 |
VS: Add support for .NET target framework version
Teach CMake to generate the TargetFrameworkVersion XML node as
documented at
http://msdn.microsoft.com/en-us/library/vstudio/ff770576.aspx
from target property VS_DOTNET_TARGET_FRAMEWORK_VERSION.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 7d25b91..b14db43 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1403,6 +1403,11 @@ void cmTarget::DefineProperties(cmake *cm) "Sets the \"RootNamespace\" attribute for a generated Visual Studio " "project. The attribute will be generated only if this is set."); cm->DefineProperty + ("VS_DOTNET_TARGET_FRAMEWORK_VERSION", cmProperty::TARGET, + "Specify the .NET target framework version.", + "Used to specify the .NET target framework version for C++/CLI. " + "For example, \"v4.5\"."); + cm->DefineProperty ("VS_DOTNET_REFERENCES", cmProperty::TARGET, "Visual Studio managed project .NET references", "Adds one or more semicolon-delimited .NET references to a " |