Two things:  You should have your source code under version control,
for many reasons, but in this context:

1. The VC system can tell you which files are unknown to it, i.e.
those CMake pooped all over your source tree.
2. You can make sure your work is checked in, then delete the source
directory and start fresh.

Second: The post-CMake cleanup is by no means straightforward, because
of what CMake's capabilities. You can have it generate blizzards of
thousands of new files if that's what you want.  CMake would, in
effect, to run its configure process in reverse to truly clean up from
any arbitrary set of CMakeLists.txt instructions.

This would be a huge effort, and all to solve a problem that is
actually between the chair and the keyboard.

Software -- especially software for developers -- can't prevent every
dumb thing a user can do. If it tries, it will end up tied in knots,
and become inflexible and annoying to use.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to