[CMake] How clean generated build system files

Andreas Pakulat apaku at gmx.de
Sat Nov 3 12:43:48 EDT 2012


Hi,

On Sat, Nov 3, 2012 at 12:40 PM, lzprgmr <baiyanhuang at gmail.com> wrote:
> Is there any way to clean the generated build system files, like vs project
> files, make files, it might be ok if generate out-of-place, but for in-place

Thats why cmake advertises out of source builds to be used all the time.

> files, it is really a pain if you want to remove those files, especially
> there are a lot of projects and directories. Ideally, I would expect there
> is a command like:
>
>     cmake -clean

That would require cmake to know about all source files which may or
may not be the case depending on your cmake rules. So no there is no
such thing at the moment.

Andreas


More information about the CMake mailing list