Vollstrecker
b5c01971c2
CMake: Remove zconf.h.
...
zconf.h is always created by cmake and configure.
1 month ago
Vollstrecker
3d6dc3c3aa
CMake: Create zconf.h from zconf.h.in.
...
Instead of zconf.h.cmakein, which is removed.
1 month ago
Vollstrecker
9e058e8443
CMake: Add option for ZLIB_PREFIX.
1 month ago
Vollstrecker
53c2727aaf
CMake: Silence deprecation warning on the action runners.
1 month ago
Vollstrecker
15ba5055a9
CMake: Adapt pkgconfig-file to the GnuInstallDirs layout.
1 month ago
Vollstrecker
155d88378e
CMake: Test static builds.
1 month ago
Vollstrecker
fd00a94838
CMake: Disable MinGW and Cygwin tests.
1 month ago
Vollstrecker
b74d77a0dd
CMake: Install compatible DLL on MinGW.
1 month ago
Vollstrecker
e0b78cea4f
CMake: Name the shared library cygz.dll on Cygwin.
1 month ago
Vollstrecker
494830e2df
CMake: Remove use of ZLIB_BUILD_EXAMPLES option in workflow.
1 month ago
Vollstrecker
01ef679251
CMake: Pass CC and CFLAGS to the tests.
1 month ago
Vollstrecker
4d74e4498e
CMake: Add the version to the exported configuration.
1 month ago
Vollstrecker
6084c550c3
CMake: Set the platform and configuration for the tests.
1 month ago
Vollstrecker
1fce5f2cdf
CMake: Add more tests.
1 month ago
Vollstrecker
7dc2b78206
CMake: Add test for usage with find_package.
1 month ago
Vollstrecker
a794225144
CMake: Permit install to put different things in different places.
1 month ago
Vollstrecker
f4624f3f03
CMake: Add zlibExport.
1 month ago
Vollstrecker
e37a1a8345
CMake: Warn if no build-type is selected.
1 month ago
Vollstrecker
f7ab6e4373
CMake: Add aliases to match the export names.
1 month ago
Vollstrecker
f0175c69e2
CMake: Add INSTALL_INTERFACE for a proper export.
1 month ago
Vollstrecker
633ec87677
CMake: Add zlib1.rc to Cygwin build.
1 month ago
Vollstrecker
48b9ee48ca
CMake: Use CMAKE_DEBUG_POSTFIX for simplification.
1 month ago
Vollstrecker
c33f3bc641
CMake: Move version setting for Cygwin into set_target_properties.
1 month ago
Vollstrecker
b6cb6f4c21
CMake: Rename examples to testing to reflect their intent.
1 month ago
Vollstrecker
c18815b630
CMake: Simplify to one install option.
...
What to install is chosen with components.
1 month ago
Vollstrecker
64e8307d6a
CMake: Make formatting consistent.
1 month ago
Vollstrecker
ffbbe01b6d
CMake: Remove allowance for unclosed constructs.
1 month ago
Vollstrecker
1af1bb6ce4
CMake: Let cmake handle zlib1.rc.
1 month ago
Vollstrecker
899ef97c4a
CMake: Use the same definition we checked for off64_t.
...
Move to target_compile_definitions.
1 month ago
Vollstrecker
31d2462c1d
CMake: Move compile_definitions to the targets.
1 month ago
Vollstrecker
feb7fd325a
CMake: Remove doubled include directories.
1 month ago
Vollstrecker
902f6eedf3
CMake: Remove checks for sys/types.h, stdint.h and stddef.h.
...
This is done by check_type_size.
1 month ago
Vollstrecker
2b2eec69b5
CMake: Remove unneeded renaming for in-tree builds and the option for it.
1 month ago
Vollstrecker
6762467523
CMake: Rename examples and tests to avoid chain building confusion.
1 month ago
Vollstrecker
76c6a8601c
CMake: Set version in project call.
...
Use variables set by it.
1 month ago
Vollstrecker
6628a10f14
CMake: Move versionscript block to zlib definition.
1 month ago
Vollstrecker
7f849d109f
CMake: Bump minimum version.
1 month ago
Vollstrecker
ae5946e5d8
CMake: Add pdb install.
...
Adjust minimum required version for regex.
1 month ago
Vollstrecker
74247f0947
CMake: Install libs with static and debug suffix.
...
Add option to also install zlib1.ddl for compatibility.
1 month ago
Vollstrecker
ee00230f8e
CMake: Switch to GNUInstallDirs.
1 month ago
Vollstrecker
b3907c2cd9
CMake: Add options for shared and static build.
1 month ago
Josh Varga
2359cd3d60
Add Bazel targets.
2 months ago
Mark Adler
71045aef60
Fix indent in infback.c.
2 months ago
Mark Adler
ef24c4c750
Reject invalid MAX_WBITS values at compile time.
4 months ago
AlexisWilke
6d3a66a11a
Avoid attempting to redefine z_const in zconf.h.
5 months ago
Oscar Lesta
64191119d8
Add Haiku to configure for proper LDSHARED settings.
5 months ago
Mark Adler
d476828316
Repair github workflows for their updated macOS runner gcc name.
6 months ago
Mark Adler
f7d01aae6e
Avoid out-of-bounds pointer arithmetic in inflateCopy().
...
Though it does not matter for code correctness, clang's UBSan
injects code that complains about computing a pointer from an array
where the result is out-of-bounds for that array, even though the
pointer is never dereferenced. Go figure. This commit avoids that
possibility when computing distcode in inflateCopy().
6 months ago
Mark Adler
2968a496d9
Remove unneeded dependency on limits.h in examples/zran.c.
6 months ago
Mark Adler
fff132fe7c
Avoid the use of a reserved macro name in contrib/minizip/ioapi.h.
6 months ago