<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div id="compose-container" itemscope="" itemtype="https://schema.org/EmailMessage" style="direction:ltr">
<span itemprop="creator" itemscope="" itemtype="https://schema.org/Organization"><span itemprop="name"></span></span>
<div>
<div style="direction:ltr">Looks like an interesting project. After reading  the blog and reading the GitHub issue pages there seem to be serious issues with MSVC still which is a blocker for us. I will keep an eye on it though. </div>
<div><br>
</div>
<div class="acompli_signature">--<br>
Michael A. Jackson<br>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Cristian Adam <cristian.adam@gmail.com><br>
<b>Sent:</b> Thursday, July 6, 2017 6:11:50 PM<br>
<b>To:</b> Michael Jackson<br>
<b>Cc:</b> cmake<br>
<b>Subject:</b> Re: [CMake] Parallel moc for Qt files</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Jul 6, 2017 at 10:00 PM, Michael Jackson <span dir="ltr">
<<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
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 ask because each file takes about 3 seconds to run through moc. The code is heavily C++ templated which I think causes 'moc' to run more slowly. We have other places in the code where 'moc' must run and it does each file in
 the "blink of an eye".<br>
<br>
Just curious.<br>
<br>
</blockquote>
<div><br>
</div>
<div>Have you tried removing moc altogether using <a href="https://woboq.com/blog/verdigris-qt-without-moc.html">
Verdigris</a>? I'm curious how this would speed up your compilation time.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Cristian.</div>
</div>
</div>
</div>
</div>
</body>
</html>