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 /Tests/RunCMake/VS10ProjectWinCE | |
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 'Tests/RunCMake/VS10ProjectWinCE')
-rw-r--r-- | Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy-check.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy-check.cmake b/Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy-check.cmake index dab1c33..b1deb99 100644 --- a/Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy-check.cmake +++ b/Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy-check.cmake @@ -14,6 +14,9 @@ endif() set(FoundCEAdditionalFiles FALSE) set(FoundRemoteDirectory FALSE) set(FoundToolsVersion4 FALSE) +set(FoundEnableRedirectPlatform FALSE) +set(FoundRedirectPlatformValue FALSE) + file(STRINGS "${vcProjectFile}" lines) foreach(line IN LISTS lines) @@ -23,6 +26,10 @@ foreach(line IN LISTS lines) set(FoundRemoteDirectory TRUE) elseif(line MATCHES " *<Project +.*ToolsVersion=\"4.0\".*> *$") set(FoundToolsVersion4 TRUE) + elseif(line MATCHES "^ *<EnableRedirectPlatform>true</EnableRedirectPlatform> *$") + set(FoundEnableRedirectPlatform TRUE) + elseif(line MATCHES "^ *<RedirectPlatformValue>.+</RedirectPlatformValue> *$") + set(FoundRedirectPlatformValue TRUE) endif() endforeach() @@ -41,6 +48,16 @@ if(NOT FoundToolsVersion4) return() endif() +if(NOT FoundEnableRedirectPlatform) + set(RunCMake_TEST_FAILED "Failed to find EnableRedirectPlatform true property.") + return() +endif() + +if(NOT FoundRedirectPlatformValue) + set(RunCMake_TEST_FAILED "Failed to find RedirectPlatformValue property.") + return() +endif() + # # Test solution file deployment items. # |