[CMake] cleaning out cmake intermediate files

James Bigler bigler at cs.utah.edu
Wed Aug 23 16:11:36 EDT 2006


The easiest thing I've done is to do an out of source build.  This 
provides a nice separation of source files and build files.  It also 
helps when doing multiple build configurations from the same source tree.

 > ls
src
 > mkdir build
 > cd build
 > ccmake ../src

James

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