[CMake] VS project reloading

James Bigler jamesbigler at gmail.com
Thu Apr 8 12:48:01 EDT 2010


On Thu, Apr 8, 2010 at 10:19 AM, Bill Hoffman <bill.hoffman at kitware.com>wrote:

> James Bigler wrote:
>
>> I'm wondering if anyone had any thoughts on this issue.
>>
>> 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.
>>
>> I'm getting a lot of push back from developers who are finding unhelpful
>> to loose their undo history.
>>
>>
> 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.
>
> -Bill
>

Where is this documented?  I don't see it in the --help-full output for
CMake 2.8.1.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100408/7354be22/attachment.htm>


More information about the CMake mailing list