[CMake] Location of cmake stuff files

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Jul 12 10:37:15 EDT 2007


On 2007-07-12 08:31+0200 Yegor Yefremov wrote:

> Hello,
>
> I'm using the 2.4.6 version and I find cmake to be a great tool. Thanx to 
> developers!
>
> What I don't understand is why should such files as CMakeCache.txt and 
> cmake_install.cmake
> be not in CMakeFiles? And why is CMakeFiles not hidden?
>
> Suppose I have two files in my project:
>
> main.c
> header.h
>
> I create CMakeLists.txt and after "cmake ." call I suddenly have more extra 
> files than my project itself.

I agree that CMake needs to produce a lot of files in the build tree in
order to do its job.  I don't care, however, because I always use an
out-of-source build tree (see discussion in
http://www.cmake.org/Wiki/CMake_FAQ) so my source tree remains pristine.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list