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

Daniel Carrera dcarrera at gmail.com
Thu Apr 4 06:32:56 EDT 2013


On 4 April 2013 11:41, Eric Noulard <eric.noulard at gmail.com> wrote:
> You can perfectly add a custom target/command to do that,
> if you do out-of-source build then removing the build dir is ok.

Thanks. Yes, I am doing out of source builds.

> Now, this would be a one-shot suicidal target since this will
> basically erase the build tool file (VS project, Makefile, ...)
> which is needed to launch itself :-]

Why is it suicidal? The Makefile doesn't mean anything. All the
intelligence is in CMakeLists.txt.

Cheers,
Daniel.
--
Lord of the rings calendar in your Linux/Unix/Mac terminal:
cat /usr/share/calendar/calendar.lotr


More information about the CMake mailing list