diff options
author | Wil Stark <wil_stark@keysight.com> | 2019-06-19 22:11:57 (GMT) |
---|---|---|
committer | Wil Stark <wil_stark@keysight.com> | 2019-06-19 22:11:57 (GMT) |
commit | 7035bdeb523a304e619bf53b3c491287c45521e9 (patch) | |
tree | f27f9308f7ea6476e185ccfd7d5593752c32b59d /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 90bd7d0ecf02688afb36257deb35699fd86ca781 (diff) | |
download | CMake-7035bdeb523a304e619bf53b3c491287c45521e9.zip CMake-7035bdeb523a304e619bf53b3c491287c45521e9.tar.gz CMake-7035bdeb523a304e619bf53b3c491287c45521e9.tar.bz2 |
VS10Generator: add project properties to enable WindowsCE deployment.
Fixes: #19408
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-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( |