libropkg: implement compressed file streams and tar-writer functionality

This commit is contained in:
2025-07-17 18:12:16 +01:00
parent c377871d2b
commit add651a3ed
13 changed files with 1136 additions and 0 deletions

14
libropkg/CMakeLists.txt Normal file
View File

@@ -0,0 +1,14 @@
file(GLOB sources *.c include/ropkg/*.h)
add_library(libropkg SHARED ${sources})
set_target_properties(libropkg PROPERTIES
OUTPUT_NAME ropkg)
target_link_libraries(libropkg
${ZSTD_LIBRARY})
target_include_directories(libropkg PUBLIC
include/
${ZSTD_INCLUDE_DIR})
target_compile_definitions(libropkg PRIVATE
LIBROPKG_EXPORT=1
LIBROPKG_STATIC=0)