29 Commits

Author SHA1 Message Date
Martin Raiber
5a38f5564a Increment version in cmake 2022-02-27 20:09:11 +01:00
Martin
0ce345c44a Disable building shared lib by default 2022-02-06 14:30:35 +01:00
Martin
0796bdbee6 Disable treating warnings as error with MSVC 2022-02-06 14:29:22 +01:00
Martin
75c948a1dd Only define MINIZ_EXPORT if not already defined 2021-11-28 17:35:49 +01:00
Samuel Marks
e841503cad [CMakeLists.txt] Enforce C89; [examples/example6.c] Conform to C89; [miniz_zip.c] Use lowercase <windows.h> 2021-11-10 21:59:32 -05:00
Martin
f2df122f6f Create release zip via cmake 2021-06-27 22:25:00 +02:00
Vojtěch Šamla
57176046b5 Make cmake recognize FetchContent subproject 2021-05-19 10:37:15 +02:00
Владислав Щапов
b7f04b700b Improved cmake subproject support
- Added code to determine whether this is a standalone project or included by other projects.
- Added option INSTALL_PROJECT to enable/disable install project.
- Replaced CMAKE_BINARY_DIR to CMAKE_CURRENT_BINARY_DIR.
2021-02-26 20:08:39 +05:00
Randy
b485d01faf updates to OSS-Fuzz integration
adapt more fuzz targets from zlib,
add zip fuzzer, zip dictionary.
update uncompress_fuzzer to seed the buffer length separately.
2020-11-24 16:51:30 +01:00
otreblan
65ad3cdf66 Remove hardcoded install dirs 2020-09-14 11:56:38 -05:00
otreblan
320764e3ca Add pkg-config file 2020-09-14 11:46:49 -05:00
Randy
f33da29f61 cmake: add fuzzers to build 2020-07-07 13:56:04 +02:00
Andreas Stefl
cd99affed0 use CMAKE_CURRENT_* directories 2019-09-26 20:03:00 +02:00
tamasmeszaros
416f5ea723 Add include location tolerance and stop forcing _GNU_SOURCE.
_GNU_SOURCE will still be enabled if building static or shared library, but only as a PRIVATE compile definition. It will not leak into targets using miniz.
2019-06-04 09:38:33 +02:00
tamasmeszaros
3b9a004a4f Create export script for amalgamated sources with correct version info.
Also added _GNU_SOURCE to on GNU compilers to support large files.
2019-06-03 10:44:40 +02:00
tamasmeszaros
d57872c77a Fix for older cmake versions and build of examples. 2019-06-03 10:02:13 +02:00
tamasmeszaros
185bc3c683 Use CMake export header for exporting symbols.
Only in shared library mode.
2019-05-28 11:57:37 +02:00
tamasmeszaros
1261dfa9ad Modified cmake script to support shared library mode and find_package. 2019-05-27 14:16:27 +02:00
Rahul Sheth
4ec19d6731 Initial CMake update 2019-05-22 19:17:28 -04:00
Andreas Stefl
5c62e23e04 use target_include_directories 2019-03-03 19:35:13 +01:00
Martin
14a5a1397b Merge branch 'master' of github.com:uroni/miniz 2018-02-20 19:00:19 +01:00
arteniioleg
22e4ef1b1d install library and headers 2017-11-23 14:25:55 +02:00
Andrew Kravchuk
9393a95f26 Removed need in C++ compiler in cmake build 2017-08-26 03:47:07 +03:00
Andrew Kravchuk
82e5b184e4 Fixed CMAKE_BUILD_TYPE default value 2017-08-26 00:03:50 +03:00
Martin
9b1ddf6861 Add debug configuration 2017-04-24 17:28:45 +02:00
Martin
55339a8978 Make tester and examples compile again and test script 2016-11-27 21:39:02 +01:00
Matthew Sitton
fa88d6529b Update CMakeLists.txt to properly do release builds. 2016-06-25 12:58:17 -05:00
Matthew Sitton
724de0bb0f Separate the into multiple files similar to the vogl zip64 version of the library.
If anyone wants to have a minified version of if a script could be written to do this automatically.
2016-06-25 06:43:30 -05:00
richgel99@gmail.com
fe5340afc0 Initial checkin of v115 - 1 important bugfix, few minor bugfixes, cmake support, merged a bunch of fixes from other folks, added improved PNG writer, etc. 2013-10-13 16:59:10 +00:00