But it has terrible building system
- in it hardcoded version of visual studio (well, it's fixable)
- in it hardcoded version of libzip (hardcoded version: 1.1.2, last version: 1.1.3 - well, and it's fixable)
- it's difficult to change building script to adjust zlib & libzip - for example for static linking.
--------------------------------------------------------------------
and for using it as static library, go to libzippp.h, add #include <cstdint> and change:
#ifdef WIN32
typedef long long libzippp_int64;
typedef unsigned long long libzippp_uint64;
//special declarations for windows to use libzippp from a DLL
#define SHARED_LIBRARY_EXPORT __declspec(dllexport)
#define SHARED_LIBRARY_IMPORT __declspec(dllimport)
#else
//standard ISO c++ does not support long long
typedef long int libzippp_int64;
typedef unsigned long int libzippp_uint64;
#define SHARED_LIBRARY_EXPORT
#define SHARED_LIBRARY_IMPORT
#endif
to
typedef int64_t libzippp_int64;
typedef uint64_t libzippp_uint64;
#define SHARED_LIBRARY_EXPORT
#define SHARED_LIBRARY_IMPORT
--------------------------------------------------------------------
headers paths for libzippp:
D:\projects\libraries\libzip-1.1.3\lib
D:\projects\libraries\libzip-1.1.3\xcode
headers paths for tests:
D:\projects\libraries\libzippp\libzippp
lib paths for debug tests:
D:\projects\libraries\libzippp\x64\Debug
D:\projects\libraries\libzip-1.1.3\_build_x64_static_mt_mtd\lib\Debug
D:\projects\libraries\zlib-1.2.8\_libraries_debug
lib paths for release tests:
D:\projects\libraries\libzippp\x64\Release
D:\projects\libraries\libzip-1.1.3\_build_x64_static_mt_mtd\lib\Release
D:\projects\libraries\zlib-1.2.8\_libraries_release
lib files:
libzippp.lib
zipstatic.lib
zlibstat.lib
And respect for the author of libzippp - despite of bad building system, I hope project will be useful)