[CMake] cleaning out cmake intermediate files

David Cole david.cole at kitware.com
Wed Aug 23 16:12:25 EDT 2006


Use a separate directory for your binary tree and do "out of source" 
builds. Then you can blow away the entire build tree and no files in the 
source tree are ever touched by any part of a build other than a 
developer adding/deleting/editing it by hand...

Stephen Adler wrote:

> Guys,
>
> when I run cmake ., it generates a bunch of intermediate files. What's 
> the cleanest way of
> removing all these intermediate files, so that if I import the 
> directory tree into a code repository, I don't accidentally commit the 
> cmake intermediate files.
>
> Cheers. Steve.
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list