summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorEugene Golushkov <eugene_gff@ukr.net>2012-02-03 14:07:12 (GMT)
committerBrad King <brad.king@kitware.com>2012-02-03 14:26:24 (GMT)
commit9e01aefd24cd23878bd88c2f3cae62b5e28802b0 (patch)
treef3846f38c1d3ce11be4d98d4b9960e6d9598589e /Source/cmTarget.cxx
parentbb29f2765c0cd752c97862c6eb81975afdcdaed1 (diff)
downloadCMake-9e01aefd24cd23878bd88c2f3cae62b5e28802b0.zip
CMake-9e01aefd24cd23878bd88c2f3cae62b5e28802b0.tar.gz
CMake-9e01aefd24cd23878bd88c2f3cae62b5e28802b0.tar.bz2
VS: Add support for WinRT project properties (#12930)
VS_WINRT_EXTENSIONS: Boolean property that correspond to "Enable Tailored Features" in Visual Studio 11 IDE. VS_WINRT_REFERENCES: Semicolon-delimited list of *.winmd references to add to the project, which creates a new <ItemGroup>.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 1a68cee..ae5596b 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1065,6 +1065,16 @@ void cmTarget::DefineProperties(cmake *cm)
"generated Visual Studio project. For example, \"System;"
"System.Windows.Forms\".");
cm->DefineProperty
+ ("VS_WINRT_EXTENSIONS", cmProperty::TARGET,
+ "Visual Studio project C++/CX language extensions for Windows Runtime",
+ "Can be set to enable C++/CX language extensions.");
+ cm->DefineProperty
+ ("VS_WINRT_REFERENCES", cmProperty::TARGET,
+ "Visual Studio project Windows Runtime Metadata references",
+ "Adds one or more semicolon-delimited WinRT references to a "
+ "generated Visual Studio project. For example, \"Windows;"
+ "Windows.UI.Core\".");
+ cm->DefineProperty
("VS_GLOBAL_<variable>", cmProperty::TARGET,
"Visual Studio project-specific global variable.",
"Tell the Visual Studio generator to set the global variable "