[CMake] Clearing all cmake files
Matthew Woehlke
mw_triad at users.sourceforge.net
Wed Sep 10 12:15:26 EDT 2008
Aleix wrote:
> I still wonder why cmake does let to build a builddir in a non-empty
> folder...
$ rm CMakeCache.txt
$ cmake ../src
CMake error: build dir not empty
:-)
I think it would be impossible to determine if the build dir contains
*only* files generated by cmake. (For example, you changed the
CMakeList.txt's quite a bit - new files and such - and then deleted the
cache and Makefile's. The build dir may indeed contain only build files,
but you no longer have anything to tell you what those build files /are/.)
--
Matthew
Your eyes are weary from staring at the CRT. You feel sleepy. Notice how
restful it is to watch the cursor blink. Close your eyes. The opinions
stated above are yours. You cannot imagine why you ever felt otherwise.
-- Unknown
(found at http://goldmark.org/jeff/stupid-disclaimers/fun.html)
More information about the CMake
mailing list