blob: 611db0adb7f8b978bcec03f754784dc6b93edd77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
enable_language(CXX)
set(DEPLOY_DIR
"temp\\foodir"
)
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>
)
|