On 14 April 2015 at 14:05, Vadim Zeitlin <vz-s...@zeitlins.org> wrote: > On Tue, 14 Apr 2015 09:55:32 +0200 Mateusz Loskot <mate...@loskot.net> wrote: > > ML> On 31 March 2015 at 22:50, Vadim Zeitlin <vz-s...@zeitlins.org> wrote: > ML> > Hello, > ML> > > ML> > I've installed DB2 headers and libraries to be able to test that DB2 > ML> > backend at least compiles (I still can't check whether it works because > I > ML> > don't have access to any DB2 database server) and discovered that this > ML> > breaks the build of the ODBC backend as there is a conflict between > ML> > sqlext.h in DB2 include directory and ODBC file with the same name in > ML> > /usr/include. I.e. currently it seems to be impossible to build both DB2 > ML> > and ODBC backends. > ML> > ML> Sounds like a little mess in CMake configuration. > ML> Presumably, you've already fixed that in > ML> https://github.com/SOCI/soci/pull/313 > > Yes, this turned out to be simpler than I thought. But I still marvel at > how people can like CMake...
I wouldn't say I like it, but it was the easiest multi-platform non-Autotools builder was able wrap my head around, with single-click installation on every OS and no third-party dependencies itself. One of problems is that SOCI started using CMake before it received some cool features that clean things up (better scopes, object libraries, etc.). So, there is a legacy of hacks that should be cleaned up over time. > BTW, it's a small thing but it was still nice that several fewer mouse > clicks were required when making this PR 133 as master is now the default > branch. Thanks for your work on this! Actually, I'm glad you raised that issue and we've switched to the simpler flow. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ soci-users mailing list soci-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/soci-users