mirror of https://gitee.com/bigwinds/arangodb
properly install the ICU file on windows to the build-target folders
This commit is contained in:
parent
a767cba1d5
commit
1895aa333d
|
@ -578,14 +578,24 @@ set(ICU_DT ${ICU_DT} PARENT_SCOPE)
|
|||
set(ICU_DT_DEST "icudtl.dat" )
|
||||
set(ICU_DT_DEST ${ICU_DT_DEST} PARENT_SCOPE)
|
||||
|
||||
configure_file(
|
||||
"${ICU_DT}"
|
||||
"${CMAKE_BINARY_DIR}/bin/$<CONFIG>/${ICU_DT_DEST}"
|
||||
COPYONLY)
|
||||
configure_file(
|
||||
"${ICU_DT}"
|
||||
"${CMAKE_BINARY_DIR}/tests/$<CONFIG>/${ICU_DT_DEST}"
|
||||
COPYONLY)
|
||||
|
||||
if (MSVC)
|
||||
add_custom_command(
|
||||
TARGET v8_build POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${ICU_DT} ${CMAKE_BINARY_DIR}/bin/$<CONFIG>/${ICU_DT_DEST})
|
||||
|
||||
add_custom_command(
|
||||
TARGET v8_build POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${ICU_DT} ${CMAKE_BINARY_DIR}/tests/$<CONFIG>/${ICU_DT_DEST})
|
||||
else()
|
||||
add_custom_command(
|
||||
TARGET v8_build POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${ICU_DT} ${CMAKE_BINARY_DIR}/bin/${ICU_DT_DEST})
|
||||
|
||||
add_custom_command(
|
||||
TARGET v8_build POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${ICU_DT} ${CMAKE_BINARY_DIR}/tests/${ICU_DT_DEST})
|
||||
endif()
|
||||
if (NOT WIN32)
|
||||
add_custom_target(nonthinV8
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../../Installation/archive-de-thinner.sh ${V8_REL_TARGET_PATH}
|
||||
|
|
Loading…
Reference in New Issue