I also just noticed that if I set CMAKE_SUPPRESS_REGENERATION, then the CMakeLists.txt files don't get added to the projects.<br><br>I wonder how hard it would be to just not add build rules to the CMakeLists.txt files......<br>

<br>James<br><br><div class="gmail_quote">On Tue, Aug 9, 2011 at 2:48 PM, James Bigler <span dir="ltr"><<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

What would it take to remove the build rules on the CMakeLists.txt files in Visual Studio?<br><br>They are causing me no end of grief with the CUDA tools.  Basically what happens is that the CMakeLists.txt files are getting compiled after the CUDA rules causing each and every project to trigger a "reconfigure" event which loads the plugin dialog box.  I'm wanting the reconfigure even to happen only during the ZERO_CHECK phase (e.g. once for every 'build it' command).<br>


<br>At one point we had discussed the fact that having a build rule on the CMakeLists.txt files is generally a Bad Idea when dealing with parallel builds, but it is even more unbearable now that VS 2010 seems to be running the CMakeLists.txt build rule after the CUDA ones.<br>


<br>Thanks,<br><font color="#888888">James<br>
</font></blockquote></div><br>