[CMake] ExternalProject danger- source directory is deleted

2012-05-09 Thread Pat Marion
When using ExternalProject, sometimes the build rules decide that an existing source directory needs to be deleted and re{downloaded,cloned}. In my experience, this is pretty dangerous and I have lost work due to it. Would it be possible to throw an error and ask the user to perform the delete, or

Re: [CMake] ExternalProject danger- source directory is deleted

2012-05-09 Thread Jean-Christophe Fillion-Robin
Hi Pat, In some extent, I think the problem has been addressed in CMake master. See http://public.kitware.com/gitweb?p=cmake.git;a=commitdiff;h=987c017f6b1b49ab832c244166e30e07260432da http://public.kitware.com/gitweb?p=cmake.git;a=commitdiff;h=987c017f6b1b49ab832c244166e30e07260432da and