Hi, I recently saw that there's a new cmake based version on git and wanted
to add my 2$
First of all thanks! I can't wait to start using it :)
I'll give it a shot soon on aix and hp-sux
On Tue, Sep 14, 2010 at 9:45 PM, Julian Taylor <
[email protected]> wrote:
> On Tue, 2010-09-14 at 14:32 +0200, Denis Arnaud wrote:
> > 2010/9/14 Julian Taylor <[email protected]>
> Having only one number is clear in the sense of what that number
> represents: The abi/api version.
> There is no major, minor or patch in an api version, either it breaks
> compatibility or not.
>
> The drawback is the possibility that the version bump can be forgotten
> if one is careless with a new release.
>
Well, you can count on the distro guys reminding you that your bug fix just
broke 100 packages on their build server ;)
The automatic schema on the other hand has the drawback that api changes
> must increase the minor number even when they only fix a bug and you
> unnecessarily increase the library version even when you know you don't
> need to.
>
> KDE for example uses the first number for source compatibility, the second
for binary compatibility and the third for bug-fixes. Would it be too hard
to follow a similar model?
I found the following method for setting version and soversion on dynlibs by
looking around
set(ABI_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}")
set(VERSION_STRING
"${MAJOR_VERSION}.${MINOR_VERSION}-r${LIB_REVISION}")
if(WIN32)
set_target_properties( ${LIBRARY_NAME} PROPERTIES
OUTPUT_NAME "${LIBRARY_NAME}.${ABI_VERSION}"
VERSION ${VERSION_STRING})
else()
set_target_properties( ${LIBRARY_NAME} PROPERTIES
OUTPUT_NAME "${LIBRARY_NAME}"
VERSION ${VERSION_STRING}
SOVERSION ${ABI_VERSION} )
endif()
on windows systems this creates dlls with the abi version built in the
filename, while on unix systems it uses the usual symlink method.
btw, thanks for the cool work you're doing for the release :)
--
Claudio Bantaloukas http://www.rdfm.org/ammuzzu/
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users