Hi Vadim, Sorry for delay, brief response for now...
On 24 March 2014 01:38, Vadim Zeitlin <vz-s...@zeitlins.org> wrote: > On Mon, 24 Mar 2014 01:11:39 +0100 I wrote: > > Me> I've finally got around to getting our projects to build with the develop > Me> SOCI branch which uses the new headers organization. I didn't have any > Me> particular problems > > Sorry, I was too hasty. In fact, there is a problem, so in addition to the > two possible improvements suggestions in my previous message, here is > another thing which we need to fix: > > 3. Include <soci/odbc/soci-odbc.h> doesn't work currently if you have only > soci/include in your include path (which, I believe, is the goal, i.e. > you shouldn't need to have soci/include/soci in it) as this header > includes <soci-backend.h>, for example, which is not in the include > path. So it needs to be changed to either include <soci/soci-backend.h> > (and, point 3.5, shouldn't this be renamed to soci/backend.h?), which > would be the most logical but would require modifying CMake stuff about > which I don't know anything, or include "../soci-backend.h" which is > quite ugly but which should work without any changes to makefiles. > > How would you prefer to fix this? The idea is to update all includes to use #include <soci/...>, similarly to how Boost C++ Libraries includes work internally. If this needs changes in CMake configuration, I can take care of it. Best regards, -- Mateusz Łoskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ soci-devel mailing list soci-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/soci-devel