hypre icon indicating copy to clipboard operation
hypre copied to clipboard

Set SOVERSION and VERSION when building as shared library in CMake

Open topazus opened this issue 2 years ago • 0 comments

For shared library, Adding VERSION and SOVERSION can specify the build version and api version. It is useful to indicate that the ABI compatibility, will be beneficial for the packaging of various Linux distributions.

Ref: https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html https://docs.fedoraproject.org/en-US/packaging-guidelines/#_downstream_so_name_versioning https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#run-time-shared-libraries https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Underlying_principles

topazus avatar May 16 '23 14:05 topazus