summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-24 12:25:32 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-06-24 12:25:41 (GMT)
commit1ba0cd29677ad077a646f55d705c8f45433cd21d (patch)
treef38cc398c421e2d7bf28db9595cf6ecd49ee0202 /Source
parenta63946469130818992d23632b6e821127d641bd5 (diff)
parent7035bdeb523a304e619bf53b3c491287c45521e9 (diff)
downloadCMake-1ba0cd29677ad077a646f55d705c8f45433cd21d.zip
CMake-1ba0cd29677ad077a646f55d705c8f45433cd21d.tar.gz
CMake-1ba0cd29677ad077a646f55d705c8f45433cd21d.tar.bz2
Merge topic 'vs-ce-deploy'
7035bdeb52 VS10Generator: add project properties to enable WindowsCE deployment. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3462
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 634c990..8b9a41f 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -505,6 +505,11 @@ void cmVisualStudio10TargetGenerator::Generate()
if (targetFrameworkVersion) {
e1.Element("TargetFrameworkVersion", targetFrameworkVersion);
}
+ if (this->ProjectType == vcxproj &&
+ this->GlobalGenerator->TargetsWindowsCE()) {
+ e1.Element("EnableRedirectPlatform", "true");
+ e1.Element("RedirectPlatformValue", this->Platform);
+ }
if (this->ProjectType == csproj &&
this->GlobalGenerator->TargetsWindowsCE()) {
const char* targetFrameworkId = this->GeneratorTarget->GetProperty(