On Sun, 2010-09-12 at 02:24 +0200, Mateusz Loskot wrote:
> Hi Julian,
> 
> Thank you for testing.

> 
> > - postgresql backend does not require postgresql to build. Intentional?
> 
> How is that? I believe I've set PostgreSQL as requirement for the
> PostgreSQL backend, so find_package(PostgreSQL) is issued
> and results are tested.
> 
> Could you explain what you mean?

I'm sorry did have postgresql installed.
I was just to stupid to find it :/
It all works as expected.

> 
> > Also for the SOVERSION ${SOCI_VERSION} target property from my patch
> > should be adapted to your versioning scheme
> > If should only be incremented when you change the api, not for every
> > minor release
> 
> Good point, I'll take a look at it.
> 
> FYI, I have dropped the naming covention used in previous SOCI versions
> and based on Boost concept using indicators of debug/release,
> single/multi-thread, etc.
> 
> CMake config simply generates libsoci_core, libsoci_sqlite2, etc.

This creates libraries conforming to debian policy (and probably also to
that of most other linux distributions) [1,2,3]:
set_target_properties(${SOCI_CORE_TARGET}
    PROPERTIES
    SOVERSION ${SOCI_API_VERSION}
    VERSION ${SOCI_VERSION})
SOVERSION should be incremented on every ABI/API change. It is
used for the SONAME ELF property and symbolic links.
VERSION can be the current version number, it is used for the actual
library name.

I have no idea how this is handled in windows, but I guess cmake should
be able to get it right there too.

[1]
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:set_target_properties
[2] http://www.debian.org/doc/debian-policy/ch-sharedlibs.html
[3]
http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#shlibpkgs

Best Regards,
Julian Taylor

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
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

Reply via email to