On Thu, Apr 8, 2010 at 10:19 AM, Bill Hoffman <span dir="ltr"><<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">James Bigler wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I'm wondering if anyone had any thoughts on this issue.<br>
<br>
When CMake detects that the project or solution files for VS have changed it runs some plugin that unloads the solution and loads it up again. While this works to keep things updated, it had the unfortunate consequence of loosing any of the undo history in any of the files that were being edited in VS. Does anyone have a workaround for this besides using an external editor? I tried to click "cancel" to let VS do the project reloading, but it closes any files that are associated with the given project that is reloaded.<br>
<br>
I'm getting a lot of push back from developers who are finding unhelpful to loose their undo history.<br>
<br>
</blockquote>
<br></div></div>
You can disable this by setting CMAKE_SUPPRESS_REGENERATION to true in your project. Your developers just have to run cmake by hand if anything changes.<br><font color="#888888">
<br>
-Bill<br>
</font></blockquote></div><br>Where is this documented? I don't see it in the --help-full output for CMake 2.8.1.<br><br>James<br>