Copy binaries and libs into ROOT/bin

This commit is contained in:
Jerry (Xinyu Hou) 2016-11-17 12:33:25 +00:00 committed by Andrew Nelless
parent 680c9b4078
commit 2a333b7fbf
6 changed files with 38 additions and 6 deletions

View File

@ -66,3 +66,11 @@ if (CONF_CPACK)
COMPONENT core
DESTINATION bin)
endif()
add_custom_command(
TARGET synergyc
POST_BUILD
COMMAND xcopy /Y /Q
..\\..\\..\\..\\..\\synergy\\bin\\${CMAKE_CFG_INTDIR}\\synergyc.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
)

View File

@ -71,3 +71,11 @@ if (CONF_CPACK)
COMPONENT core
DESTINATION bin)
endif()
add_custom_command(
TARGET synergyp
POST_BUILD
COMMAND xcopy /Y /Q
..\\..\\..\\..\\..\\synergy\\bin\\${CMAKE_CFG_INTDIR}\\synergyp.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
)

View File

@ -66,3 +66,11 @@ if (CONF_CPACK)
COMPONENT core
DESTINATION bin)
endif()
add_custom_command(
TARGET synergys
POST_BUILD
COMMAND xcopy /Y /Q
..\\..\\..\\..\\..\\synergy\\bin\\${CMAKE_CFG_INTDIR}\\synergys.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
)

View File

@ -37,3 +37,11 @@ if (CONF_CPACK)
COMPONENT core
DESTINATION bin)
endif()
add_custom_command(
TARGET syntool
POST_BUILD
COMMAND xcopy /Y /Q
..\\..\\..\\..\\..\\synergy\\bin\\${CMAKE_CFG_INTDIR}\\syntool.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
)

View File

@ -39,15 +39,15 @@ if (WIN32)
TARGET net
POST_BUILD
COMMAND xcopy /Y /Q
..\\..\\..\\..\\ext\\${OPENSSL_PLAT_DIR}\\out32dll\\libeay32.*
..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
..\\..\\..\\..\\..\\synergy\\ext\\${OPENSSL_PLAT_DIR}\\out32dll\\libeay32.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
)
add_custom_command(
TARGET net
POST_BUILD
COMMAND xcopy /Y /Q
..\\..\\..\\..\\ext\\${OPENSSL_PLAT_DIR}\\out32dll\\ssleay32.*
..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
..\\..\\..\\..\\..\\synergy\\ext\\${OPENSSL_PLAT_DIR}\\out32dll\\ssleay32.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
)
endif()

View File

@ -39,6 +39,6 @@ add_custom_command(
TARGET synwinhk
POST_BUILD
COMMAND xcopy /Y /Q
..\\..\\..\\..\\lib\\${CMAKE_CFG_INTDIR}\\synwinhk.*
..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}\\
..\\..\\..\\..\\..\\synergy\\lib\\${CMAKE_CFG_INTDIR}\\synwinhk.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}\\
)