diff options
author | Brad King <brad.king@kitware.com> | 2019-06-24 12:25:32 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-06-24 12:25:41 (GMT) |
commit | 1ba0cd29677ad077a646f55d705c8f45433cd21d (patch) | |
tree | f38cc398c421e2d7bf28db9595cf6ecd49ee0202 /Source | |
parent | a63946469130818992d23632b6e821127d641bd5 (diff) | |
parent | 7035bdeb523a304e619bf53b3c491287c45521e9 (diff) | |
download | CMake-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.cxx | 5 |
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( |