kde4_add_test is not sufficient

2007-06-05 Thread Andreas Pakulat
Hi, I'd like to know wether its expected that one needs both kde4_add_test and add_test to make tests work even if KDE4_BUILD_TESTS was set to off? If one doesn't tell cmake via add_test() that a testcase exists the make test target doesn't find any tests, even after building them via make . I th

Re: KDE/kdepim/kmail

2007-06-05 Thread Benjamin Reed
David Faure wrote: > On Tuesday 05 June 2007, Benjamin Reed wrote: > >> CMake does not remove duplicate linker entries (ie, when I build on osx, I >> end up with >> at least 5 -framework QtCore's for example). >> > > Hmm, that sounds like something cmake should do, IMHO. > it does :)

Re: kde4_add_test is not sufficient

2007-06-05 Thread Thiago Macieira
Andreas Pakulat wrote: >Hi, > >I'd like to know wether its expected that one needs both kde4_add_test >and add_test to make tests work even if KDE4_BUILD_TESTS was set to off? > >If one doesn't tell cmake via add_test() that a testcase exists the make >test target doesn't find any tests, even after

Re: KDE/kdepim/kmail

2007-06-05 Thread Thiago Macieira
Benjamin Reed wrote: >It seems like we could hack up kde4_add_libraries or whatever, but that >still seems like it should be done at a higher-level in cmake, shouldn't > it? It's rare, but there are some cases in which you *must* repeat a library for the linking to work. And no, it's not consider

Re: KDE/kdepim/kmail

2007-06-05 Thread Alexander Neundorf
On Tuesday 05 June 2007 12:17, Benjamin Reed wrote: > David Faure wrote: > > On Tuesday 05 June 2007, Benjamin Reed wrote: > >> CMake does not remove duplicate linker entries (ie, when I build on osx, > >> I end up with at least 5 -framework QtCore's for example). > > > > Hmm, that sounds like some

Re: kde4_add_test is not sufficient

2007-06-05 Thread Andreas Pakulat
On 05.06.07 19:33:55, Thiago Macieira wrote: > Andreas Pakulat wrote: > >Hi, > > > >I'd like to know wether its expected that one needs both kde4_add_test > >and add_test to make tests work even if KDE4_BUILD_TESTS was set to off? > > > >If one doesn't tell cmake via add_test() that a testcase exis

Re: kde4_add_test is not sufficient

2007-06-05 Thread Alexander Neundorf
On Tuesday 05 June 2007 19:04, Andreas Pakulat wrote: > On 05.06.07 19:33:55, Thiago Macieira wrote: > > Andreas Pakulat wrote: > > >Hi, > > > > > >I'd like to know wether its expected that one needs both kde4_add_test > > >and add_test to make tests work even if KDE4_BUILD_TESTS was set to off? >

Re: KDE/kdepim/kmail

2007-06-05 Thread Benjamin Reed
On 6/5/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > Can you create a minimal testcase where the linker crashes ? This would be a > big help. I suspect by definition it has to be a maximal test case, but I'll see what I can do. ___ Kde-buildsystem

Re: kde4_add_test is not sufficient

2007-06-05 Thread Andreas Pakulat
On 05.06.07 22:46:02, Alexander Neundorf wrote: > On Tuesday 05 June 2007 19:04, Andreas Pakulat wrote: > > On 05.06.07 19:33:55, Thiago Macieira wrote: > > > Andreas Pakulat wrote: > > > >Hi, > > > > > > > >I'd like to know wether its expected that one needs both kde4_add_test > > > >and add_test