mirror of
https://gitea.home.endeavr.de/Marcel/Tarstats-pp.git
synced 2025-12-10 00:39:01 +01:00
this added OS implementation of zlib. this also prototyped extracting the first 512 bytes of a tar.gz file and displaying the content of the first 100 bytes (name of the first file in the tarball)
This commit is contained in:
@@ -5,6 +5,8 @@ project(Tarstats__)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -std=c++20")
|
||||
|
||||
add_executable(tarstats_pp main.cpp tarconst.h tarfunc.cpp tarfunc.h)
|
||||
target_link_libraries(tarstats_pp)
|
||||
|
||||
|
||||
add_executable(tarstats_pp main.cpp tarconst.h tarfunc.cpp tarfunc.h)
|
||||
target_link_libraries(tarstats_pp -lz)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user