Re: [soci-users] CMake and Windows builds

2015-04-14 Thread Mateusz Loskot
On 14 April 2015 at 20:29, Vadim Zeitlin wrote: > On Tue, 14 Apr 2015 19:54:08 +0200 Mateusz Loskot wrote: > > ML> It should be easy really. The hardest part is to collect the dependencies. > > MySQL ones seem to be installed and found, yet linking doesn't work... Right. As collect, I rather me

Re: [soci-users] CMake and Windows builds

2015-04-14 Thread Vadim Zeitlin
On Tue, 14 Apr 2015 19:54:08 +0200 Mateusz Loskot wrote: ML> It should be easy really. The hardest part is to collect the dependencies. MySQL ones seem to be installed and found, yet linking doesn't work... ML> It's been long time since I've done any personal projects on Windows+Visual ML> Stu

Re: [soci-users] CMake and Windows builds

2015-04-14 Thread Mateusz Loskot
On 14 Apr 2015 18:31, "Vadim Zeitlin" wrote: > > Hi, > > Speaking of CMake, how exactly is it supposed to be used under Windows? > I've never used it there with SOCI as we have our own project/solution > files there, but I thought I could just do "cmake" and then build the > generated solution a

[soci-users] CMake and Windows builds

2015-04-14 Thread Vadim Zeitlin
Hi, Speaking of CMake, how exactly is it supposed to be used under Windows? I've never used it there with SOCI as we have our own project/solution files there, but I thought I could just do "cmake" and then build the generated solution and apparently this doesn't work because the link dependenci

Re: [soci-users] How to set include directories selectively with CMake?

2015-04-14 Thread Mateusz Loskot
On 14 April 2015 at 14:05, Vadim Zeitlin wrote: > On Tue, 14 Apr 2015 09:55:32 +0200 Mateusz Loskot wrote: > > ML> On 31 March 2015 at 22:50, Vadim Zeitlin wrote: > ML> > Hello, > ML> > > ML> > I've installed DB2 headers and libraries to be able to test that DB2 > ML> > backend at least compil

Re: [soci-users] How to set include directories selectively with CMake?

2015-04-14 Thread Vadim Zeitlin
On Tue, 14 Apr 2015 09:55:32 +0200 Mateusz Loskot wrote: ML> On 31 March 2015 at 22:50, Vadim Zeitlin 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

Re: [soci-users] How to set include directories selectively with CMake?

2015-04-14 Thread Mateusz Loskot
On 31 March 2015 at 22:50, Vadim Zeitlin wrote: > Hello, > > I've installed DB2 headers and libraries to be able to test that DB2 > backend at least compiles (I still can't check whether it works because I > don't have access to any DB2 database server) and discovered that this > breaks the buil