dmlc / dmlc-core

A common bricks library for building scalable and portable distributed machine learning.
Apache License 2.0
865 stars 519 forks source link

CMake: set soversion when building shared library #681

Closed topazus closed 1 year ago

topazus commented 1 year ago

It is helpful to add soversion to the shared library, which can indicate the API/ABI change of the library.

Ref: https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html https://docs.fedoraproject.org/en-US/packaging-guidelines/#_downstream_so_name_versioning