Add zstd.

This commit is contained in:
2021-10-19 03:44:20 +01:00
parent e45cf28dee
commit cf4f706b31
485 changed files with 150912 additions and 3 deletions

View File

@@ -24,7 +24,10 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/data/lzip.lz
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/data/lzfse.bin
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/data/)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/data/zstd.zst
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/data/)
# 'Google_Tests_run' is the target name
# 'test1.cpp tests2.cpp' are source files with tests
add_executable(tests_run apple_rle.cpp crc32.c crc32.h adc.cpp bzip2.cpp lzip.cpp lzfse.cpp)
add_executable(tests_run apple_rle.cpp crc32.c crc32.h adc.cpp bzip2.cpp lzip.cpp lzfse.cpp zstd.cpp)
target_link_libraries(tests_run gtest gtest_main "Aaru.Compression.Native")