Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flo2k/CppZip
CppZip
https://github.com/flo2k/CppZip
Last synced: 16 days ago
JSON representation
CppZip
- Host: GitHub
- URL: https://github.com/flo2k/CppZip
- Owner: flo2k
- License: other
- Created: 2012-09-22T14:05:06.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-12-06T20:07:32.000Z (almost 7 years ago)
- Last Synced: 2024-07-31T22:58:03.722Z (3 months ago)
- Language: C++
- Size: 28.4 MB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
CppZip
======CppZip is an open source c++ zip library and is based on minizip and zlib. CppZip is implemented with
standard C++ (C++11) and some functions of the boost libraries.It's implementation focus is
- on easy to use - a clear and well documented API,
- to run on multiple platforms (Windows, Linux, ...),
- and well tested.### Build status:
- [![Build Status](https://travis-ci.org/flo2k/CppZip.svg?branch=master)](https://travis-ci.org/flo2k/CppZip) TravisCI (linux)
- [![Build Status](https://ci.appveyor.com/api/projects/status/qlctko1hvennty1h?svg=true)](https://ci.appveyor.com/project/flo2k/cppzip) AppVeyor (Windows)
### There are two classes in the library:
[_Zip_](src/CppZip/Zip.h) compresses and zips files and folders.
- Adding files from memory
- Adding files from file system
- Adding complete (and recursive) folders from file system
- Delete files
- Replace files
- Supports Passwords[_Unzip_](src/CppZip/Zip.h) uncompresses and unzips zip files.
- Inspect files inside a zip (e.g. file list)
- Extract to file system
- Extract to memory
- Supports Passwords### Author:
_Florian Künzner_### Version:
1.0.1.4 release state### Date:
06.12.2017### Compilation:
Compiles with cmake into the directory "build":#### Compile on Linux
#create build dir
mkdir build#configure
cmake -H. -Bbuild#build
cmake --build build -- -j#build doc
cmake --build build -- doc#### Compile on Windows
#create build dir
mkdir build#configure
cmake -H. -Bbuild
-DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%"
-DDOXYGEN_EXECUTABLE="%DOXYGEN_EXE%"
-DZLIB_INCLUDE_DIR="%ZLIB_INCLUDE%" -DZLIB_LIBRARY="%ZLIB_LIBRARY%"
-DCPPUNIT_INCLUDE_DIR="%CPPUNIT_INCLUDE_DIR%" -DCPPUNIT_LIBRARY_RELEASE="%CPPUNIT_LIBRARY%"#build
cmake --build build --config Release --#build doc
cmake --build build --config Release --target doc### License:
see [LICENSE.txt](LICENSE.txt)