Commit Graph

7 Commits

Author SHA1 Message Date
Leander Schulten
0560a3a63d pkgconfig file: propagate WITH_GZFILEOP 2023-11-07 18:58:30 +01:00
Dženan Zukić
714f624d79 Add support for name mangling
This is useful when zlib-ng is embedded into another library,
such as ITK: https://itk.org/

Closes #1025.

Co-authored-by: Mika Lindqvist <postmaster@raasu.org>
2021-10-09 09:19:55 +02:00
Hans Kristian Rosbach
6289dc906d Sync cmake variable names with names already used by %cmake macros in
rpm-specs on redhat-based distros, making it easier to build corect packages.
2021-01-16 15:17:18 +01:00
Dan Kegel
6aacfb674c cmake: generate same .pc file contents as configure 2020-06-19 10:14:35 +02:00
Hans Johnson
016d291ce9 ENH: Use modern cmake variable conventions
Use recommended naming conventions for variables

See https://cmake.org/cmake/help/v3.0/command/project.html?highlight=project for
the common conventions.

The project() command stores the version number and its components in variables

PROJECT_VERSION, <PROJECT-NAME>_VERSION
PROJECT_VERSION_MAJOR, <PROJECT-NAME>_VERSION_MAJOR
PROJECT_VERSION_MINOR, <PROJECT-NAME>_VERSION_MINOR
PROJECT_VERSION_PATCH, <PROJECT-NAME>_VERSION_PATCH
PROJECT_VERSION_TWEAK, <PROJECT-NAME>_VERSION_TWEAK
2019-01-31 13:07:20 +01:00
Hans Kristian Rosbach
dfdb082b2f Rename library based on zlib-compat setting
If zlib-compat is enabled, keep libz name.
If zlib-compat is disabled, use libz-ng name.

Add new .map file for -ng mode, with prefixed function names.

This commit only containes preparatory changes to
the central parts of the build system.
2018-01-31 10:45:29 +01:00
Christoph J. Thompson
ca6e7a0d55 Generate and install the pkg-config file with cmake. 2012-03-11 10:16:04 -07:00