Add Apple RLE algorithm.

This commit is contained in:
2021-10-14 04:37:48 +01:00
parent 05dbda33ab
commit 1a9a76b2d3
10 changed files with 371 additions and 8 deletions

View File

@@ -9,7 +9,10 @@ project(tests)
add_subdirectory(lib)
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/data/apple_rle.bin
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 "")
add_executable(tests_run apple_rle.cpp crc32.c crc32.h)
target_link_libraries(tests_run gtest gtest_main "Aaru.Compression.Native")