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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake