Skip to content

Commit 0d8b536

Browse files
committed
Compress crypto_test_data.cc
1 parent 3263ce2 commit 0d8b536

File tree

5 files changed

+56
-15274
lines changed

5 files changed

+56
-15274
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,10 @@ if(BUILD_TESTING)
982982
DEPENDS util/embed_test_data.go ${CRYPTO_TEST_DATA}
983983
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
984984
else()
985-
file(COPY ${GENERATE_CODE_ROOT}/crypto_test_data.cc DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
985+
execute_process(
986+
COMMAND ${CMAKE_COMMAND} -E tar "Jxvf" ${GENERATE_CODE_ROOT}/crypto_test_data.cc.tar.bz2
987+
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
988+
)
986989
endif()
987990
add_library(crypto_test_data OBJECT crypto_test_data.cc)
988991

0 commit comments

Comments
 (0)