[CMake] cleaning out cmake intermediate files

Jan Woetzel jw at woetzelweb.de
Wed Aug 23 16:56:49 EDT 2006


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.

I agree that out of source build is the cleanest and easiest way - we 
use in 95%.

However, it's not always possible.
We solved the issue configuring the CVS server to ignore more patterns like

CMakeFiles
CMakeTmp
*.dir

Jan.

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  Uni Kiel
  Institut f. Informatik und Praktische Mathematik
  Hermann-Rodewaldstr. 3  [Raum 310]
  24098 Kiel/Germany
--------------------------------------------------
  Tel    +49-431-880-4477
  Fax    +49-431-880-4845
  Privat +49-431-802872
  Mob.   +49-179-2937346
--------------------------------------------------
  Url    www.mip.informatik.uni-kiel.de/~jw
  Email  jw at mip.informatik.uni-kiel.de
  Privat jw at WoetzelWeb.de



More information about the CMake mailing list