[CMake] Why not a GetCleanTargetName?
Alexander Neundorf
a.neundorf-work at gmx.net
Wed Aug 8 14:26:26 EDT 2007
On Friday 03 August 2007 20:00, Miguel A. Figueroa-Villanueva wrote:
> Hello,
>
> Why isn't there the following in cmGlobalGenerator.h :
>
> virtual const char* GetCleanTargetName() { return 0; }
>
> and the following in cmGlobalUnixMakefileGenerator3.h :
>
> virtual const char* GetCleanTargetName() { return "clean"; }
>
> The reason I ask is because I needed for the Eclipse generator code.
> If there is a better way to do what I describe below, please let me
> know?
For makefile generators the name of the clean target is always "clean", and
currently the extra generators support only makefile generators, so you can
rely on this.
Alex
More information about the CMake
mailing list