[CMake] "make superclean" target? (i.e. clear *everything*)

Eric Noulard eric.noulard at gmail.com
Thu Apr 4 16:24:53 EDT 2013


2013/4/4 Jean-Christophe Fillion-Robin <jchris.fillionr at kitware.com>

> Consider looking at the implementation of PreventInSourceBuilds.cmake in
> ITK
> See
> https://github.com/Kitware/ITK/blob/master/CMake/PreventInSourceBuilds.cmake
>
> May it could be generalized and integrated in CMake itself ?
>

Yes it could but it is not a user-friendly solution, since the macro
   1) Does not prevent the creation of CMakeCache.txt nor CMakeFiles dir.
   2) Tell the user that he should remove those himself
       (and rely on git to do so).

Thus the feature request:
http://public.kitware.com/Bug/view.php?id=6672

Even Brad found it could be "cool":
http://public.kitware.com/Bug/view.php?id=6672#c17606

May be somebody will find time to craft some patch for that...

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130404/4a077e24/attachment.htm>


More information about the CMake mailing list