diff options
author | Wil Stark <wil_stark@keysight.com> | 2019-02-19 23:02:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-25 14:14:15 (GMT) |
commit | 917c035ada212cec47f92b51449b554526119372 (patch) | |
tree | 0aac592abaa8f35ec58acf03a082514241260103 /Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy.cmake | |
parent | 7574e16096abe57d44cde4e6380a22d940cde98c (diff) | |
download | CMake-917c035ada212cec47f92b51449b554526119372.zip CMake-917c035ada212cec47f92b51449b554526119372.tar.gz CMake-917c035ada212cec47f92b51449b554526119372.tar.bz2 |
VS: support suppressing deployment of selected targets
Add a `VS_NO_SOLUTION_DEPLOY` target property to explicitly specify for
each target whether to suppress VS solution deployment of the generated
target project.
Fixes: #18953
Diffstat (limited to 'Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy.cmake')
-rw-r--r-- | Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy.cmake b/Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy.cmake index 948f14c..611db0a 100644 --- a/Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy.cmake +++ b/Tests/RunCMake/VS10ProjectWinCE/VsCEDebuggerDeploy.cmake @@ -4,10 +4,11 @@ set(DEPLOY_DIR "temp\\foodir" ) -add_library(foo foo.cpp) +add_library(foo SHARED foo.cpp) set_target_properties(foo PROPERTIES DEPLOYMENT_ADDITIONAL_FILES "foo.dll|\\foo\\src\\dir\\on\\host|$(RemoteDirectory)|0;bar.dll|\\bar\\src\\dir|$(RemoteDirectory)bardir|0" DEPLOYMENT_REMOTE_DIRECTORY ${DEPLOY_DIR} + VS_NO_SOLUTION_DEPLOY $<CONFIG:Release> ) |