Skip to content

Commit

Permalink
Compress crypto_test_data.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 21, 2025
1 parent 3263ce2 commit 7b9bc64
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 15,274 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,11 @@ if(BUILD_TESTING)
DEPENDS util/embed_test_data.go ${CRYPTO_TEST_DATA}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
else()
file(COPY ${GENERATE_CODE_ROOT}/crypto_test_data.cc DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
add_custom_command(
OUTPUT crypto_test_data.cc
COMMAND ${CMAKE_COMMAND} -E tar "Jxvf" ${GENERATE_CODE_ROOT}/crypto_test_data.cc.tar.bz2
DEPENDS ${GENERATE_CODE_ROOT}/crypto_test_data.cc.tar.bz2
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
endif()
add_library(crypto_test_data OBJECT crypto_test_data.cc)

Expand Down
Loading

0 comments on commit 7b9bc64

Please sign in to comment.