[CMake] cleaning targets

Andreas Pakulat apaku at gmx.de
Thu Nov 6 15:02:42 EST 2008


On 06.11.08 12:56:33, Eric (Brad) Lemings wrote:
> Alexander Neundorf wrote:
> > What would be the purpose of this ?
> > What is the purpose of distclean anyway ?
> >   
> These are conventional GNU cleaning targets that apply to virtually all
> software that is built from source.

Nitpick: They are automake targets, which nowadays doesn't mean "all
software" luckily.

> The various cleaning targets are specified here:
> http://www.gnu.org/software/automake/manual/html_node/Clean.html
                              ^^^^^^^^^^^^^^^
See :)

> The exact names of the targets are not so important as what they do (or
> supposed to do).

The way to get rid of any non-source files with CMake is rm -rf <builddir>.
If you're doing in-source builds then you're simply masochistic ;P

Andreas

-- 
You may worry about your hair-do today, but tomorrow much peanut butter will
be sold.


More information about the CMake mailing list