[CMake] rebuild forces reloading of all project in VS2008

Bill Hoffman bill.hoffman at kitware.com
Fri May 30 09:03:06 EDT 2008


John Biddiscombe wrote:
> Yes. me too. it's very annoying. If a cmakelists file is touched when I 
> build paraview (but individual projects are not actually changed), the 
> entire 120 odd project/targets need to be reloaded and its quicker to 
> just terminate the app and restart. For a while cmake did some sort of 
> macro wizardry which automatically reloaded the solution. Then it 
> stopped doing it (I'm using cmake 2.4.8 so probably I should upgrade).
> 

This was addressed in CMake 2.6.0.  We install a macro that allows us to 
only have one reload, and the build actually continues.   This never 
worked in 2.4.8.  Some versions of visual studio only had one reload but 
it did not work reliably.

-Bill


More information about the CMake mailing list