Skip to content
Snippets Groups Projects

Draft: CMake: Set SOVERSION when compiling shared libs

Closed Stephan Lachnit requested to merge slachnit/VecGeom:p/soversion into master

This patch sets a SOVERSION if shared libraries are build. This helps to integrate the library better with distributions (I am currently working on a Geant4 package for Debian). For more on concept, see https://semver.org/.

Currently I set the SOVERSION to MAJOR.MINOR, i.e. 1.1. However, I'm not entirely sure if this is aligns with how versioning policy for VecGeom. In general, the SOVERSION should be bumped if a API incompatible change has been made. Thus if e.g. 1.1.20 is allowed to have a break in the API, the SOVERSION should be MAJOR.MINOR.PATCH.

Edited by Benjamin Morgan

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading