Skip to content

Commit a681107

Browse files
authored
Merge pull request #3 from miller-alex/more-fixes
More improvements
2 parents 29d141d + 477bfa8 commit a681107

22 files changed

+1925
-1868
lines changed

COPYING

Lines changed: 15 additions & 368 deletions
Large diffs are not rendered by default.

GPL2.txt

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

NEWS.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# unreleased
2+
3+
* fix a build error on windows
4+
* improve log file handling
5+
* add -e and -l options to set (or disable) error log file and logging directory
6+
* revert zip64 format changes from last release
7+
* update included source for minizip to version from zlib-1.3.1
8+
* various fixes and code cleanup
9+
110
# 1.1 [2024-01-16]
211

312
* zip64 format: zip64 EOCD was missing in some cases
@@ -11,7 +20,7 @@
1120
* various other fixes
1221

1322
Thanks to our new contributor:
14-
* @miller-alex
23+
* Alexander Miller
1524

1625
# 1.0.0 [2022-06-18]
1726

src/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
file(GLOB SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.c ${CMAKE_CURRENT_SOURCE_DIR}/contrib/*.c)
1+
file(GLOB SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.c ${CMAKE_CURRENT_SOURCE_DIR}/minizip/*.c)
22
add_executable(trrntzip ${SOURCES})
33
target_compile_definitions(trrntzip PRIVATE "TZ_VERSION=\"${PROJECT_VERSION}\"")
4-
target_include_directories(trrntzip BEFORE PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/contrib)
54
target_link_libraries(trrntzip m ZLIB::ZLIB)
6-
set_property(SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/contrib/unzip.c APPEND PROPERTY COMPILE_DEFINITIONS UNZ_MAXFILENAMEINZIP=1024)
5+
set_property(SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/minizip/unzip.c APPEND PROPERTY COMPILE_DEFINITIONS UNZ_MAXFILENAMEINZIP=1024)
76
install(TARGETS trrntzip EXPORT ${PROJECT_NAME}-targets DESTINATION bin)

0 commit comments

Comments
 (0)