Skip to content

szakeetm/wbenny-ziplib-cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wbenny-ziplib-cmake

Cross-platform CMake version of Petr Beneš' ziplib, instead of the author's Visual Studio solution.

Tested on Windows, macOS, Fedora and Debian Linux.

Original project: https://bitbucket.org/wbenny/ziplib

Build as static library

Clone repo, then from the repo dir:

mkdir build
cd build
cmake ..
make

Use library as part of a CMake project

  • Clone the repo to a subdirectory, for example ziplib, optionally as a git submodule
  • From the main project's CMakeLists.txt:
    • add_subdirectory(ziplib)
    • target_link_libraries(${PROJECT_NAME} PUBLIC ziplib)
  • From the main project's source files, use #include directives from the Source dir, for example #include <ZipLib/ZipFile.h>

About

CMake version of wbenny's ziplib, for vcpkg

Resources

License

Stars

Watchers

Forks

Packages

No packages published