On Fri, Feb 19, 2010 at 6:46 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 2/18/2010 4:35 PM, Ben Medina wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
However, with VS2010, CMake is re-run in the middle of the build.<br>
</blockquote>
<br></div>
Did this work in CMake 2.8.0?<br>
<br>
I tried some test cases that seem similar to yours but<br>
I was unable to reproduce this problem. Perhaps the<br>
generate.stamp file is removed by whatever goes wrong<br>
with the Qt custom commands.<div class="im"><br>
<br></div></blockquote><div><br>I've seen this as well with my FindCUDA code (also a code generator like Qt's moc). It happens with CMake 2.6 as well, but it happens so infrequently that I haven't been able to reliably reproduce it. I have a hunch that it is related to the same file trying to be built by more than one project that gets compiled in parallel. Once I prevented the build collisions problems like this tended to go away.<br>
</div></div><br>James<br>