06.07.2017, 23:00, "Michael Jackson" :
> I have a large list of files that need to have Qt's 'moc' run on them
> (107 headers). I use all the normal CMake facilities for Qt based
> projects. I noticed that the generation of the moc files are done
> serially. Is there
Thank you for the suggestions.
It is almost like a Jom for moc needs to be written.
-Mike Jackson
From: Benjamin Ballet <bbal...@ivsweb.com>
Sent: Friday, July 7, 2017 5:47:20 AM
To: Michael Jackson
Cc: cmake
Subject: Re: [CMake] Parallel moc for Qt fi
n.a...@gmail.com>
Sent: Thursday, July 6, 2017 6:11:50 PM
To: Michael Jackson
Cc: cmake
Subject: Re: [CMake] Parallel moc for Qt files
On Thu, Jul 6, 2017 at 10:00 PM, Michael Jackson
<mike.jack...@bluequartz.net<mailto:mike.jack...@bluequartz.net>> wrote:
I have a large list of files that
I don't know how to parallelize moc with CMake though I previously reduce
moc time (sometimes it's very slow) :
- by replacing as much #include as possible by forward-declaration
- wrapping some #include around #ifndef Q_MOC_RUN ... #endif
2017-07-06 22:00 GMT+02:00 Michael Jackson
On Thu, Jul 6, 2017 at 10:00 PM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> I have a large list of files that need to have Qt's 'moc' run on them (107
> headers). I use all the normal CMake facilities for Qt based projects. I
> noticed that the generation of the moc files are done
I have a large list of files that need to have Qt's 'moc' run on them
(107 headers). I use all the normal CMake facilities for Qt based
projects. I noticed that the generation of the moc files are done
serially. Is there a flag or anything that I can use to run the
generation in Parallel? I