[CMake] Re: How to exclude CMakeLists.txt from generated projects?

Sylvain Benner benner at virtools.com
Fri Jul 20 05:19:12 EDT 2007


Sebastian Schuberth a écrit :
>
> The reason for this is that from time to time I need to "Rebuild" my 
> solution. This makes CMake run the custom build step for all 
> CMakeLists.txt files although they did not change, which results in VS 
> to prompt me for every project to reload it ... quite annyoing.
>

Try this:
SET(CMAKE_SUPPRESS_REGENERATION "1")

And the custom build step will not be generated.

-Sylvain



More information about the CMake mailing list