We do much the same but use a batch file called startDevStudio.vs2010.cmake.bat like this in the top level:
@echo off if not exist build\cmake mkdir build\cmake cd build\cmake cmake -G "Visual Studio 10" ..\..\ IF ERRORLEVEL 1 ( echo. echo CMake configure failed echo. pause exit 1 ) start "title" your_project_name.sln Using a batch file makes it mostly painless to quit and relaunch Visual Studio. On 4 August 2011 09:05, Thomas Sondergaard <t...@medical-insight.com> wrote: > It is a bit of a pain to work with Visual Studio 2010 and CMake due to this > bug: > http://gccxml.org/Bug/view.**php?id=11258<http://gccxml.org/Bug/view.php?id=11258>(VS > 2010 CMake plugin is broken). It doesn't look like much progress is > being made with fixing this bug, so I'm looking for workarounds. > > To this point, whenever I've changed anything that I know will cause CMake > to rerun I will close the solution, run cmake by hand in a shell and then > open the solution again. If someone have developed a better workaround for > this I invite them to post it to this thread. > > Thanks, > > Thomas > > ______________________________**_________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/** > opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ> > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >
_______________________________________________ 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