]> granicus.if.org Git - zziplib/commitdiff
one more bins/unzip-mem
authorGuido Draheim <guidod@gmx.de>
Sun, 16 Sep 2018 20:22:23 +0000 (22:22 +0200)
committerGuido Draheim <guidod@gmx.de>
Sun, 16 Sep 2018 20:22:23 +0000 (22:22 +0200)
bins/CMakeLists.txt
test/test.zip

index 05095987854ace674aeb50b2c10f15834205ba75..048b62333223e5e78f942951e34d16a2f58d82fe 100644 (file)
@@ -31,8 +31,9 @@ add_executable(zziptest   zziptest.c)
 add_executable(zzip       zzip.c zzipmake-zip.c)
 add_executable(unzzip     unzzip.c unzzipcat-zip.c unzzipdir-zip.c)
 add_executable(unzzip-mix unzzip.c unzzipcat-mix.c unzzipdir-mix.c)
-add_executable(unzzip-mem unzzip.c unzzipcat-mem.c unzzipdir-mem.c)
 add_executable(unzzip-big unzzip.c unzzipcat-big.c unzzipdir-big.c)
+add_executable(unzzip-mem unzzip.c unzzipcat-mem.c unzzipdir-mem.c)
+add_executable(unzip-mem  unzip-mem.c)
 
 target_link_libraries(zzcat        libzzip        ZLIB::ZLIB)
 target_link_libraries(zzdir        libzzip        ZLIB::ZLIB)
@@ -44,8 +45,9 @@ target_link_libraries(zziptest     libzzip        ZLIB::ZLIB)
 target_link_libraries(zzip         libzzip        ZLIB::ZLIB)
 target_link_libraries(unzzip       libzzip        ZLIB::ZLIB)
 target_link_libraries(unzzip-mix   libzzip        ZLIB::ZLIB)
-target_link_libraries(unzzip-mem   libzzipmmapped ZLIB::ZLIB)
 target_link_libraries(unzzip-big   libzzipfseeko  ZLIB::ZLIB)
+target_link_libraries(unzzip-mem   libzzipmmapped ZLIB::ZLIB)
+target_link_libraries(unzip-mem    libzzipmmapped ZLIB::ZLIB)
 
 target_include_directories(zzcat        PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
 target_include_directories(zzdir        PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
@@ -56,10 +58,11 @@ target_include_directories(zzobfuscated PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_C
 target_include_directories(zzip         PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
 target_include_directories(unzzip       PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
 target_include_directories(unzzip-mix   PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
-target_include_directories(unzzip-mem   PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
 target_include_directories(unzzip-big   PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
+target_include_directories(unzzip-mem   PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
+target_include_directories(unzip-mem    PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
 
 # install ########################################################
 install(TARGETS zzcat zzdir zzxorcat zzxordir zzxorcopy
-                unzzip unzzip-mix unzzip-mem unzzip-big
+                unzzip unzzip-mix unzzip-big unzzip-mem unzip-mem
         DESTINATION "${CMAKE_INSTALL_BINDIR}")
index d0ba98d07868397ad1fa1b51eab06c970061d8f4..c5b173e3b71f151095eb3cd17eb54c2f8859e686 100644 (file)
Binary files a/test/test.zip and b/test/test.zip differ