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}
)