[cmake-commits] alex committed cmGlobalGenerator.h 1.98 1.99 cmGlobalUnixMakefileGenerator3.h 1.48 1.49

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Nov 25 07:34:56 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv323

Modified Files:
	cmGlobalGenerator.h cmGlobalUnixMakefileGenerator3.h 
Log Message:
ENH: add GetCleanTargetName() which returns "clean" for makefiles, so it can
be used by the eclipse generator

Alex


Index: cmGlobalGenerator.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.h,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- cmGlobalGenerator.h	16 Nov 2007 12:01:58 -0000	1.98
+++ cmGlobalGenerator.h	25 Nov 2007 12:34:53 -0000	1.99
@@ -224,6 +224,7 @@
   virtual const char* GetPackageSourceTargetName(){ return 0; }
   virtual const char* GetEditCacheTargetName()    { return 0; }
   virtual const char* GetRebuildCacheTargetName() { return 0; }
+  virtual const char* GetCleanTargetName()        { return 0; }
 
   // what targets does the specified target depend on
   std::vector<cmTarget *>& GetTargetDepends(cmTarget& target);

Index: cmGlobalUnixMakefileGenerator3.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalUnixMakefileGenerator3.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- cmGlobalUnixMakefileGenerator3.h	3 Aug 2007 19:44:25 -0000	1.48
+++ cmGlobalUnixMakefileGenerator3.h	25 Nov 2007 12:34:53 -0000	1.49
@@ -177,6 +177,7 @@
   virtual const char* GetPackageSourceTargetName(){ return "package_source"; }
   virtual const char* GetEditCacheTargetName()    { return "edit_cache"; }
   virtual const char* GetRebuildCacheTargetName() { return "rebuild_cache"; }
+  virtual const char* GetCleanTargetName()        { return "clean"; }
 
   // Some make programs (Borland) do not keep a rule if there are no
   // dependencies or commands.  This is a problem for creating rules



More information about the Cmake-commits mailing list