44 Commits

Author SHA1 Message Date
Nikola Zivkovic
e14fef2108
Enable building tests only if the project is built as a standalone one (#269) 2022-06-25 22:27:31 +02:00
Kuba Podgórski
a597bdf814 Update cmake 2022-02-06 16:52:50 +01:00
Kuba Podgórski
e7b792d7c1
Update CMakeLists.txt 2022-02-05 01:23:53 +01:00
Kuba Podgórski
ac7f600cce
Update CMakeLists.txt 2022-02-05 01:21:41 +01:00
appledragon
c30cb27c74
for support shareable file open on windows (#220)
Support shareable file open on windows
Co-authored-by: visla-dragon <visla-dragon@visla.us>
2021-12-23 16:46:47 +01:00
Jiang Sir
594dbd5cc4
Add sanitizers for zip (#213) 2021-12-02 21:44:40 +01:00
Samuel Marks
58bde05a12
[CMakeLists.txt] Set C89; [src/zip.c] C89-compatibility (resolves: "GCC does not allow variable declarations in for loop initializers before C99") (#212) 2021-11-12 00:11:55 +01:00
Kuba Podgórski
5b3f3877ff
Upgrade miniz dependency to version 2.2.0 (#203) 2021-07-29 10:56:20 +02:00
Kuba Podgórski
b7193d815a Upgrade version to 0.1.32 2021-07-22 12:31:47 +02:00
Kuba Podgórski
e5eaa5e45c
use size_t if it's possible (#196) 2021-07-09 11:44:21 +02:00
SpaceIm
2f6857e267
add zip::zip alias target (#180)
it is consistent with zip::zip imported target in generated config file
2021-04-13 01:00:48 +02:00
SpaceIm
bc03c01e57
add option to build documentation (#179) 2021-04-13 01:00:07 +02:00
SpaceIm
e43ba3b98f
Exports symbols of API and hides others symbols (#178)
* exports symbols of API and hides others symbols

* fix sanitizers in tests

* add export macro in public header
2021-04-13 00:42:59 +02:00
SpaceIm
3c0319673c
allow static lib without PIC (#177) 2021-04-12 15:33:14 +02:00
Kuba Podgórski
9cf2857e82
Use minunit for testing (#173) 2021-03-11 12:57:36 +01:00
jinfeihan57
42a6b39526
Add delete entry function (#142) 2020-11-10 11:53:19 +01:00
Kuba Podgórski
e54c766ffb Try to fix build on unix 2020-09-10 15:51:49 +02:00
Kuba Podgórski
6b038da83f Revert "Remove -pedantic for tests in release mode."
This reverts commit c970a571babd19fc14b2aa783962de5a41c00ead.
2020-09-10 15:49:41 +02:00
Kuba Podgórski
c970a571ba Remove -pedantic for tests in release mode. 2020-09-10 15:37:29 +02:00
Kuba Podgórski
529eef88ad
set(CMAKE_VERBOSE_MAKEFILE ON) (#133)
* set(CMAKE_VERBOSE_MAKEFILE ON)

* -D CMAKE_AR=/usr/bin/ar
2020-08-18 13:21:05 +02:00
Kuba Podgórski
96924c94da
promote to 0.1.19 2020-04-20 23:17:44 +02:00
Kuba Podgórski
e6c9807d8d
CMake3.4 -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE (#122)
Co-authored-by: kuba-- <>
2020-04-20 23:15:55 +02:00
Kuba Podgórski
f053be982f v0.1.18 2020-02-04 13:45:44 +01:00
Kuba Podgórski
b41b3b3b0b
remove codecov (#118) 2020-01-30 23:25:47 +01:00
Kuba Podgórski
b8fac51d42
remove travis and appveyor (#116) 2020-01-22 12:49:19 +01:00
Kuba Podgórski
aad40be349
Update build.yml (#115) 2020-01-22 00:38:57 +01:00
Rahul Sheth
6c5797073e Update CMake files with Config install and some cleanup (#105) 2019-05-24 19:34:09 +02:00
Ivan Romanov
2445a950bd Add Doxygen support (#102) 2019-04-25 17:15:07 +02:00
AMIR
87c1353216 Update CmakeLists.txt (#99) 2019-03-28 10:20:29 +01:00
kuba--
9059fc507a
Add runtime destination to cmake 2018-10-18 08:52:29 +02:00
Moritz
18197675d3 Possibility to install the library (#80) 2018-10-05 00:11:24 +02:00
Moritz
11746b49c3 Disable building tests when including as subproject (#79) 2018-10-03 23:32:19 +02:00
Kuba Podgórski
b514b7d3b0
Add test_miniz (#73) 2018-08-26 00:50:10 +02:00
Kuba Podgórski
cf54937886
add -pedantic compilation and fix warnings (#65) 2018-08-20 12:47:29 +02:00
James Athey
894f63002d Use target_include_directories to help dependents find the zip.h file (#45)
* use target_include_directories to tell dependents about the include path

* ignore CMake-generated files for Visual Studio
2018-07-31 08:25:24 +02:00
James Athey
9611ec3a7e Use project-local CMake variables instead of top-level CMake variables (#43) 2018-07-24 23:13:42 +02:00
Kuba Podgórski
753f0be62e
Update CMakeLists.txt 2018-06-22 18:28:45 +02:00
Kuba Podgórski
ddf01314c6
Sanitize builds (#25) 2018-01-11 23:20:41 +01:00
Kuba Podgórski
261b8d040e Add unit tests (#8) 2017-02-19 18:35:24 +01:00
Kuba Podgórski
5f6e4a8f66 Add zip_entry_(f)read (#7) 2017-02-19 00:31:45 +01:00
Kuba Podgórski
c02431f3a0 Suppress MSVC warnings 2017-02-14 23:15:19 +01:00
Kuba Podgórski
8cac9e042f formatting 2017-02-14 20:05:54 +01:00
Kuba Podgórski
7a15f1cbe5 Update CMakeLists.txt 2017-02-06 04:30:14 -08:00
Kuba Podgórski
a3e0803ed7 Create CMakeLists.txt 2017-02-06 04:23:22 -08:00