Re: Problem using Vc with CMake 3.0 and kf5

2015-06-04 Thread Matthias Kretz
On Wednesday 27 May 2015 11:19:08 Boudewijn Rempt wrote: On Wed, 27 May 2015, Matthias Kretz wrote: I have to admit I didn't know about this change in cmake. I think it's the right direction, though. I just started to read the relevant cmake documentation and then I'll see whether I can

Re: Problem using Vc with CMake 3.0 and kf5

2015-06-04 Thread Matthias Kretz
documentation and then I'll see whether I can figure something out to make the macro work for target-based compiler flags. Cheers, Matthias -- ─ Dipl.-Phys. Matthias Kretz Web: http://compeng.uni-frankfurt.de/?mkretz SIMD

Re: Detecting Phonon version

2009-05-05 Thread Matthias Kretz
told Marco about this for mplayerthumbs). Regards, Matthias -- Matthias Kretz (Germany) http://Vir.homelinux.org/ ___ Kde-buildsystem mailing list Kde

Re: automoc4 corner issues - what lerned from qt-creator port

2009-03-25 Thread Matthias Kretz
generated from that w.cpp file? Because in order to compile the generated moc file you need the class declaration, but that's only in w.cpp which you can't include from the moc... So what am I missing? -- Matthias Kretz (Germany

Re: make clean doesn't delete moc files

2009-02-11 Thread Matthias Kretz
Hi, On Wednesday 11 February 2009 19:33:52 Andreas Pakulat wrote: On 06.02.09 09:27:25, Matthias Kretz wrote: Hi, fixed with rev. 922011 of kdesupport/automoc Doesn't work here, I still get such errors from moc-files that were generated with qt 4.4. automoc is up-to-date. You didn't

Re: make clean doesn't delete moc files

2009-02-11 Thread Matthias Kretz
-- Matthias Kretz (Germany) http://Vir.homelinux.org/ ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem

Re: make clean doesn't delete moc files

2009-02-06 Thread Matthias Kretz
Hi, fixed with rev. 922011 of kdesupport/automoc Regards, Matthias -- Matthias Kretz (Germany) http://Vir.homelinux.org/ ___ Kde-buildsystem mailing list Kde

Re: make clean doesn't delete moc files

2009-02-05 Thread Matthias Kretz
a make clean automoc will recreate all moc files, regardless of whether they exist already. So removing the moc files is only interesting for in source builds. Regards, Matthias -- Matthias Kretz (Germany

Re: make clean doesn't delete moc files

2009-02-05 Thread Matthias Kretz
Hi, On Thursday 05 February 2009 20:10:37 David Faure wrote: On Thursday 05 February 2009, Matthias Kretz wrote: BTW, deleting the moc files is not important to get a clean build. If you do a make clean automoc will recreate all moc files, regardless of whether they exist already. Nope

Re: wildcards in DEPENDS

2008-12-01 Thread Matthias Kretz
On Monday 01 December 2008 14:49:56 Matthias Kretz wrote: I'll come up with a patch to keep compatibility where possible but switch to automoc targets when possible. Attached patch keeps compatibility AFAICS but switches to automoc-per-target everywhere

Re: wildcards in DEPENDS

2008-11-26 Thread Matthias Kretz
.) -- Matthias Kretz (Germany) http://Vir.homelinux.org/ Index: kde4automoc.cpp === --- kde4automoc.cpp (revision 886850) +++ kde4automoc.cpp (working copy) @@ -34,6 +34,7 @@ #include QtCore

Re: wildcards in DEPENDS

2008-11-24 Thread Matthias Kretz
On Thursday 20 November 2008 11:56:03 Matthias Kretz wrote: On Thursday 20 November 2008 10:27:11 Matthias Kretz wrote: Now, for some reason qt4_generate_moc stopped working for me. I don't see how that could be related, if it is and you have an idea please take a look. It seems I found

Re: wildcards in DEPENDS

2008-11-20 Thread Matthias Kretz
On Wednesday 19 November 2008 14:49:10 Matthias Kretz wrote: On Tuesday 18 November 2008 20:55:11 Alexander Neundorf wrote: What do you think about the idea with the one global helper target ? Sounds like a good idea but I have two problems with it: a) it won't get called on make target/fast

Re: wildcards in DEPENDS

2008-11-20 Thread Matthias Kretz
On Thursday 20 November 2008 10:27:11 Matthias Kretz wrote: Now, for some reason qt4_generate_moc stopped working for me. I don't see how that could be related, if it is and you have an idea please take a look. It seems I found the problem: the OBJECT_DEPENDS I added in Automoc4Config

Re: wildcards in DEPENDS

2008-11-19 Thread Matthias Kretz
Hi, On Tuesday 18 November 2008 20:55:11 Alexander Neundorf wrote: On Tuesday 18 November 2008, Matthias Kretz wrote: is it portable to use wildcards in DEPENDS? Like in add_custom_command(OUTPUT ${_automoc_source} COMMAND ${AUTOMOC4_EXECUTABLE} DEPENDS

Re: installing and finding cmake-built projects

2008-11-18 Thread Matthias Kretz
you're a developer testing multiple versions). It's correct that KDE provides the phonon-xine backend and Qt doesn't ship it, but I don't see how that's related to the phonon.pc file. -- Matthias Kretz (Germany

wildcards in DEPENDS

2008-11-18 Thread Matthias Kretz
was that .files is always more recent than the .cpp... -- Matthias Kretz (Germany) http://Vir.homelinux.org/ ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https

Re: installing and finding cmake-built projects

2008-11-17 Thread Matthias Kretz
file? -- Matthias Kretz (Germany) http://Vir.homelinux.org/ ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde

Patch to regenerate all moc files when -D flags change

2008-08-05 Thread Matthias Kretz
in a change to all automoc_target.cpp files = relinking of all targets. -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Index: kde4automoc.cpp

Re: Patch to remove parallel moc execution

2008-07-29 Thread Matthias Kretz
On Friday 18 July 2008 12:32:55 Matthias Kretz wrote: Hi, attached is a patch to make automoc4 execute cmake and moc serially. This simplifies the code, removes a special casing for FreeBSD and probably doesn't have much impact on execution time (as e.g. -j4 still lets make call 4 jobs, like

Patch to add two more automoc4 convenience macros

2008-07-29 Thread Matthias Kretz
) AFAICS we could then also switch the macros in KDE4Macros.cmake to use this. -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED

Re: Patch for KDE4Macros to use extra target on Windows

2008-07-19 Thread Matthias Kretz
On Friday 18 July 2008 23:38:45 Brad King wrote: Matthias Kretz wrote: attached is a patch to use the new automoc macro which adds a new target per default on Windows. Can someone point me to discussion of the original problem, please? I think most of this was in german and private mail

Re: Patch for KDE4Macros to use extra target on Windows

2008-07-19 Thread Matthias Kretz
On Saturday 19 July 2008 12:52:57 Christian Ehrlicher wrote: Matthias Kretz schrieb: Hi, attached is a patch to use the new automoc macro which adds a new target per default on Windows. Please let me know if that is what you want/need and whether I should commit this. The patch

Patch to remove parallel moc execution

2008-07-18 Thread Matthias Kretz
to profile it, you're welcome. :-) OK to commit? -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Index: kde4automoc.cpp

Re: [ANNOUNCE] automoc4 from kdesupport now supported for building KDE

2008-06-16 Thread Matthias Kretz
On Thursday 05 June 2008, Alexander Neundorf wrote: On Thursday 29 May 2008, Matthias Kretz wrote: On Thursday 29 May 2008, Alexander Neundorf wrote: On Wednesday 28 May 2008, Matthias Kretz wrote: I tried add_custom_target and it won't work in the automoc macros because there needs

Re: [ANNOUNCE] automoc4 from kdesupport now supported for building KDE

2008-05-19 Thread Matthias Kretz
On Monday 19 May 2008, Andras Mantia wrote: On Sunday 18 May 2008, Matthias Kretz wrote: automoc4 uses the include directories as specified by include_directory. At least that's what I wrote and expect the code to do. :-) Take a look at the generated target_automoc.cpp.files file. Its

Re: [ANNOUNCE] automoc4 from kdesupport now supported for building KDE

2008-05-18 Thread Matthias Kretz
target_automoc.cpp.files file. Its second line contains all the include directories as they'll get passed to moc. This line gets generated by the configure_files call in Automoc4.cmake. -- Matthias Kretz (Germany) http

Re: automoc4

2008-05-08 Thread Matthias Kretz
macros as internal or compatibility will be kept. For now nothing seems to be internal. -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] signature.asc

Re: automoc4

2008-05-08 Thread Matthias Kretz
true source for this file (instead of having copies in all the places that use cmake+automoc but not kdelibs) -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL

Re: automoc4

2008-05-02 Thread Matthias Kretz
On Wednesday 30 April 2008, Alexander Neundorf wrote: Von: Matthias Kretz [EMAIL PROTECTED] On Tuesday 29 April 2008, Alexander Neundorf wrote: Is there an easy way to enforce rerunning automoc ? Would it be possible to add a command line switch which does that ? Like e.g. deleting all

Re: CMake dependency scanning for .moc files

2008-04-17 Thread Matthias Kretz
On Thursday 17 April 2008, Matthias Kretz wrote: run kde4automoc unconditionally for all targets With a patch to kde4automoc.cpp it's not too bad. Please try the attached patch. And if you think this is the way to go then let me know how to unconditionally run automoc without that touch hack

Re: CMake dependency scanning for .moc files

2008-04-16 Thread Matthias Kretz
think that if the installed headers change in a binary incompatible way the only safe thing you can do is a make clean. Conclusion: I think everything works as it should. At least from the problem description above. -- Matthias Kretz (Germany

Re: OpenGL vs. Qt4 OpenGL

2007-12-13 Thread Matthias Kretz
} -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part. ___ Kde-buildsystem mailing list Kde

Re: Automoc for .hxx, .hpp, .H files

2007-12-11 Thread Matthias Kretz
sure nothing breaks. But at least from the patch I don't expect any regressions. Matthias. -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED

automoc support for private headers

2007-09-24 Thread Matthias Kretz
). I have been using this patch for a week or so now and seen no regressions. Ok to commit? -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Index

Re: automoc support for private headers

2007-09-24 Thread Matthias Kretz
On Monday 24 September 2007, Thiago Macieira wrote: Em Monday 24 September 2007 13:19:50 Matthias Kretz escreveu: I'd like to make kde4automoc look for Q_OBJECT macros in private headers automatically. This is very convenient as it just makes everything work automatically (I was putting

Re: automoc error

2007-07-23 Thread Matthias Kretz
Fixed now. It was an error in kde4automoc. It did not wait for the moc processes that were creating the moc files for the _automoc.cpp file to finish. -- Matthias Kretz (Germany) http://Vir.homelinux.org

Re: automoc error

2007-07-20 Thread Matthias Kretz
). -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] pgpZIEEzaypo1.pgp Description: PGP signature ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https

Re: Unexpected behaviour of kde4automoc

2007-07-13 Thread Matthias Kretz
/automoc/CMakeLists.txt? -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] pgpBZCgHGxwOD.pgp Description: PGP signature

Re: Unexpected behaviour of kde4automoc

2007-07-13 Thread Matthias Kretz
are done. This is how moc is executed: QProcess *mocProc = new QProcess; mocProc-setProcessChannelMode(QProcess::ForwardedChannels); mocProc-start(mocExe, args, QIODevice::NotOpen); -- Matthias Kretz (Germany) http

Re: automoc v2

2007-07-12 Thread Matthias Kretz
On Tuesday 10 July 2007, Alexander Neundorf wrote: On Friday 06 July 2007 18:51, Matthias Kretz wrote: I replaced kde4automoc.cmake with a C++/QtCore based program that can run more efficient. ...which is good, but this doesn't help cmake time (but build time, which is also good). Yes

Re: *** GMX Spamverdacht *** automoc v2

2007-07-09 Thread Matthias Kretz
On Monday 09 July 2007, Andreas Pakulat wrote: On 07.07.07 00:51:38, Matthias Kretz wrote: Hi, attached you'll find the next generation of automoc I replaced kde4automoc.cmake with a C++/QtCore based program that can run more efficient. I've got one question: Could

Re: *** GMX Spamverdacht *** automoc v2

2007-07-09 Thread Matthias Kretz
On Monday 09 July 2007, Andreas Pakulat wrote: On 09.07.07 21:53:48, Matthias Kretz wrote: On Monday 09 July 2007, Andreas Pakulat wrote: On 07.07.07 00:51:38, Matthias Kretz wrote: At least thats what I see here at the moment. I changed kdelibs/kate/CMakeLists.txt and now it relinks

automoc v2

2007-07-06 Thread Matthias Kretz
have to remove some explicit QT4_WRAP_CPP calls from CMakeLists.txt now). I'd like to commit soon, as this is supposed to fix compilation on Windows again... -- Matthias Kretz (Germany) http://Vir.homelinux.org

Re: Fixing output of new automoc macro

2007-07-04 Thread Matthias Kretz
know whether it's creating it from the .h or the .cpp file. -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] pgpc7YpIZuc4e.pgp Description: PGP

Re: Fixing output of new automoc macro

2007-07-04 Thread Matthias Kretz
VERBOSE=1'? -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] pgp7n2Dx8muwC.pgp Description: PGP signature

Re: make KDE4_AUTOMOC compatible to qmake

2007-07-01 Thread Matthias Kretz
On Friday 29 June 2007, Alexander Neundorf wrote: On Thursday 28 June 2007 11:20, Matthias Kretz wrote: after that it seems to work, at least my stuff. Here's an error I didn't look into: Scanning dependencies of target globalcleanuptest [ 8%] Building CXX object kdecore/tests

Re: make KDE4_AUTOMOC compatible to qmake

2007-06-27 Thread Matthias Kretz
. If the .cpp file contains #include filename.moc and ^[ \t]*Q_OBJECT then the moc file is created from the .cpp file So far I tested it with kdelibs only. -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL

Re: make KDE4_AUTOMOC compatible to qmake

2007-06-22 Thread Matthias Kretz
there... -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] pgpxMfe2QzlUC.pgp Description: PGP signature ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https

fatal error if KDE compiles with hidden visibility but Q_DECL_EXPORT is defined to nothing

2007-06-21 Thread Matthias Kretz
. all plugins that export their entry symbols using Q_DECL_EXPORT or any other macro that uses Q_DECL_EXPORT Ok, to commit the attached patch? PS: please CC me on replys -- Matthias Kretz (Germany) http

Re: make KDE4_AUTOMOC compatible to qmake

2007-06-18 Thread Matthias Kretz
On Monday 18 June 2007, Alexander Neundorf wrote: On Saturday 16 June 2007 06:50, you wrote: On Tuesday 12 June 2007, Alexander Neundorf wrote: Hi, On Saturday 09 June 2007 05:20, Matthias Kretz wrote: On Saturday 09 June 2007, Alexander Neundorf wrote: On Friday 08 June 2007

Re: make KDE4_AUTOMOC compatible to qmake

2007-06-18 Thread Matthias Kretz
and the moc files for the first target are not generated. Is this a bug in the CMakeLists.txt? -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED

Re: make KDE4_AUTOMOC compatible to qmake

2007-06-16 Thread Matthias Kretz
On Tuesday 12 June 2007, Alexander Neundorf wrote: Hi, On Saturday 09 June 2007 05:20, Matthias Kretz wrote: On Saturday 09 June 2007, Alexander Neundorf wrote: On Friday 08 June 2007 05:07, Matthias Kretz wrote: On Friday 08 June 2007, Alexander Neundorf wrote: Using

Re: make KDE4_AUTOMOC compatible to qmake

2007-06-08 Thread Matthias Kretz
... -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] pgp4TuXz6XuaV.pgp Description: PGP signature ___ Kde-buildsystem mailing list Kde

Re: make KDE4_AUTOMOC compatible to qmake

2007-06-07 Thread Matthias Kretz
. -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Index: KDE4Macros.cmake === --- KDE4Macros.cmake (revision 671744

Re: make KDE4_AUTOMOC compatible to qmake

2007-06-07 Thread Matthias Kretz
On Thursday 07 June 2007, Christian Ehrlicher wrote: Von: Matthias Kretz [EMAIL PROTECTED] Hi, I updated the patch so that it now adds a dependency on the moc generated file and does not add the moc files in the add_library/add_executable calls. Works fine with a clean build dir

Re: problems compiling kdelibs

2007-01-30 Thread Matthias Kretz
have any idea? By Marcus -- Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] pgpqF0zRBmQ51.pgp Description: PGP signature

Re: Undefined reference to Phonon::ObjectDescriptionModel

2006-09-29 Thread Matthias Kretz
Matthias Kretz (Germany) http://Vir.homelinux.org/ [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] pgpYnTmSLiVc3.pgp Description: PGP signature ___ Kde-buildsystem mailing list Kde-buildsystem