Re: Fwd: How to build static libraries with cmake (and more)? (was: Re: Testing internal classes)

2006-05-15 Thread Friedrich W. H. Kossebau
(Resent, as the first post seems to be lost:) Hi Alex, :) Am Samstag, 13. Mai 2006 18:37, schrieb Alexander Neundorf: On Saturday 13 May 2006 14:14, Friedrich W. H. Kossebau wrote: Different name is okay, but is there a possibility the libs could share the object files to be build? I

Re: Fwd: How to build static libraries with cmake (and more)? (was: Re: Testing internal classes)

2006-05-15 Thread David Faure
On Saturday 13 May 2006 18:37, Alexander Neundorf wrote: Or are you more looking for something like the ctest --build-and-test option ? Yes I think we should aim at ctest --build-and-test support, i.e. being able to build the test programs before running them, instead of all the time. William

Re: Problem with detection of KDE version (why is $KDEDIR/bin/kde-config used?)

2006-05-15 Thread David Faure
On Saturday 13 May 2006 22:14, Alexander Neundorf wrote: CMake looks for KDE4_KDECONFIG_EXECUTABLE in $KDEDIR/bin. Setting KDEDIR to opt2/kde4 fixes the problem. Is this the intended behavior? Not really. But we have to live with this for the next weeks. Please note that the way

Re: msvc: kabc plugins

2006-05-15 Thread David Faure
On Sunday 14 May 2006 17:43, Peter Kümmel wrote: in kabc/plugins are libraries and plugins with the same name when compiled with msvc. gcc uses different names because of the lib prefix, (library: libkabc_file plugin: kabc_file) but this does not work with msvc which never uses a prefix.

Re: msvc: makekdewidgets

2006-05-15 Thread Peter Kümmel
Paulo Jorge Guedes wrote: I noticed your commit to FindKDEWIN32.cmake since it doesn't work anymore here :) Curious, I've tested it with msvc 8 and mingw (with mingw I've only compiled until the linking of kdecore which breaks because of a to long command line, but I think this has nothing

Re: msvc: kabc plugins

2006-05-15 Thread Peter Kümmel
David Faure wrote: On Sunday 14 May 2006 17:43, Peter Kümmel wrote: in kabc/plugins are libraries and plugins with the same name when compiled with msvc. gcc uses different names because of the lib prefix, (library: libkabc_file plugin: kabc_file) but this does not work with msvc which

RE: msvc: makekdewidgets

2006-05-15 Thread Paulo Jorge Guedes
-Original Message- From: Peter Kümmel [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 15 de Maio de 2006 11:20 To: kde-buildsystem@kde.org Subject: Re: msvc: makekdewidgets Paulo Jorge Guedes wrote: I noticed your commit to FindKDEWIN32.cmake since it doesn't work anymore here :)

Re: Problem with detection of KDE version (why is $KDEDIR/bin/kde-config used?)

2006-05-15 Thread Thiago Macieira
David Faure wrote: On Saturday 13 May 2006 22:14, Alexander Neundorf wrote: CMake looks for KDE4_KDECONFIG_EXECUTABLE in $KDEDIR/bin. Setting KDEDIR to opt2/kde4 fixes the problem. Is this the intended behavior? Not really. But we have to live with this for the next weeks. Please

RE: msvc: makekdewidgets

2006-05-15 Thread Paulo Jorge Guedes
-Original Message- From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 15 de Maio de 2006 11:36 To: kde-buildsystem@kde.org Subject: RE: msvc: makekdewidgets -Original Message- From: Peter Kümmel [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 15 de

Re: msvc: makekdewidgets

2006-05-15 Thread Peter Kümmel
Paulo Jorge Guedes wrote: Could you post the error message. The error is that it can't find kdewin32 (on the configure step of cmake). Looking at FindKDEWIN32.cmake it's not a great surprise because it tries to find the libraries with a *d. What happens if you have kdewin32 built with

RE: msvc: makekdewidgets

2006-05-15 Thread Paulo Jorge Guedes
-Original Message- From: Peter Kümmel [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 15 de Maio de 2006 11:47 To: kde-buildsystem@kde.org Subject: Re: msvc: makekdewidgets Paulo Jorge Guedes wrote: Could you post the error message. The error is that it can't find kdewin32

Re: msvc: makekdewidgets

2006-05-15 Thread Peter Kümmel
Paulo Jorge Guedes wrote: -Original Message- From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 15 de Maio de 2006 11:36 To: kde-buildsystem@kde.org Subject: RE: msvc: makekdewidgets -Original Message- From: Peter Kümmel [mailto:[EMAIL PROTECTED] Sent:

Re: msvc: makekdewidgets

2006-05-15 Thread Peter Kümmel
Paulo Jorge Guedes wrote: -Original Message- From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 15 de Maio de 2006 11:36 To: kde-buildsystem@kde.org Subject: RE: msvc: makekdewidgets -Original Message- From: Peter Kümmel [mailto:[EMAIL PROTECTED] Sent:

Re: kde4_automoc change (need help)

2006-05-15 Thread David Faure
On Friday 12 May 2006 18:21, Alexander Neundorf wrote: On Friday 12 May 2006 18:03, David Faure wrote: On Friday 12 May 2006 17:46, Alexander Neundorf wrote: Different usage: set(mySrcs foo.cpp widget.cpp mainwindow.cpp) kde4_automoc(${mySrcs}) - detect automatically where to run

Re: msvc: kabc plugins

2006-05-15 Thread Peter Kümmel
Peter Kümmel wrote: David Faure wrote: On Sunday 14 May 2006 17:43, Peter Kümmel wrote: in kabc/plugins are libraries and plugins with the same name when compiled with msvc. gcc uses different names because of the lib prefix, (library: libkabc_file plugin: kabc_file) but this does not work

RE: msvc: makekdewidgets

2006-05-15 Thread Paulo Jorge Guedes
-Original Message- From: Peter Kümmel [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 15 de Maio de 2006 12:11 To: kde-buildsystem@kde.org Subject: Re: msvc: makekdewidgets When CMAKE_BUILD_TYPE also switches the CMAKE_DEBUG_POSTFIX macro then your patch looks good. I'll test it.

RE: msvc: makekdewidgets

2006-05-15 Thread Paulo Jorge Guedes
-Original Message- From: Peter Kümmel [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 15 de Maio de 2006 12:11 To: kde-buildsystem@kde.org Subject: Re: msvc: makekdewidgets --- FindKDEWIN32.cmake(revision 540992) +++ FindKDEWIN32.cmake(working copy) @@ -20,11 +20,11 @@

msvc tests

2006-05-15 Thread Peter Kümmel
Here the results of the tests when compiled with msvc/debug C:\sandbox\kdelibs\cnmnmake test Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. Running tests... c:\Programme\CMake\bin\ctest.exe

Re: msvc tests

2006-05-15 Thread David Faure
On Monday 15 May 2006 18:42, Peter Kümmel wrote: The following tests FAILED: 1 - kdecore-klocaletest (Failed) 3 - kdecore-kurltest (Failed) 6 - kdecore-kdatetimetest (Failed) 8 - kdecore-krfcdatetest (Failed) 12 - kdecore-kshelltest (Failed)

Re: Problem with detection of KDE version (why is $KDEDIR/bin/kde-config used?)

2006-05-15 Thread Alexander Neundorf
On Monday 15 May 2006 12:58, Thiago Macieira wrote: David Faure wrote: On Saturday 13 May 2006 22:14, Alexander Neundorf wrote: CMake looks for KDE4_KDECONFIG_EXECUTABLE in $KDEDIR/bin. Setting KDEDIR to opt2/kde4 fixes the problem. Is this the intended behavior? Not really.

Re: Problem with detection of KDE version (why is $KDEDIR/bin/kde-config used?)

2006-05-15 Thread Dirk Mueller
On Monday, 15. May 2006 11:49, David Faure wrote: Please note that the way KDEDIR/KDEDIRS works for all other purposes in KDE is: * if KDEDIRS is set then it is used, and KDEDIR is ignored * otherwise (KDEDIRS not set) KDEDIR is used KDEDIR should be always ignored. Dirk

KDE/kdesdk/kbugbuster

2006-05-15 Thread Laurent Montel
SVN commit 541270 by mlaurent: Add message to signal why kresource will not compile (I think that it will better to have a configure.in.bot into cmake) CCMAIL: kde-buildsystem@kde.org M +3 -1 CMakeLists.txt --- trunk/KDE/kdesdk/kbugbuster/CMakeLists.txt #541269:541270 @@ -60,7 +60,9

Re: KDE/kdesdk/kbugbuster

2006-05-15 Thread David Faure
On Monday 15 May 2006 22:55, Laurent Montel wrote: SVN commit 541270 by mlaurent: Add message to signal why kresource will not compile (I think that it will better to have a configure.in.bot into cmake) In other terms, this is a request for a way to collect warnings and show them at the end

Re: KDE/kdesdk/kbugbuster

2006-05-15 Thread Laurent Montel
On Monday 15 May 2006 23:42, Allen Winter wrote: On Monday 15 May 2006 17:27, David Faure wrote: On Monday 15 May 2006 22:55, Laurent Montel wrote: SVN commit 541270 by mlaurent: Add message to signal why kresource will not compile (I think that it will better to have a