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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake