[CMake] Shared library versioning (Take 3)
Fathi Boudra
fboudra at gmail.com
Tue Jul 11 04:07:45 EDT 2006
hi,
i'll try to add a correct soname to a shared library.
I found some old informations:
http://public.kitware.com/pipermail/cmake/2003-June/003923.html
http://public.kitware.com/pipermail/cmake/2003-June/003985.html
and looked at ITK sources:
#----------------------------------------------------------------------------
- # ITK build configuration options.
OPTION(BUILD_SHARED_LIBS "Build ITK with shared libraries." OFF)
SET(ITK_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
IF(NOT ITK_NO_LIBRARY_VERSION)
# This setting of SOVERSION assumes that any API change
# will increment either the minor or major version number of ITK.
SET(ITK_LIBRARY_PROPERTIES
VERSION "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}.
${ITK_VERSION_PATCH}"
SOVERSION "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}"
)
ENDIF(NOT ITK_NO_LIBRARY_VERSION)
but i didn't find a proper documentation about it. is there a link somewhere
or other interesting informations that i missed ?
cheers,
Fathi
More information about the CMake
mailing list