[cmake-commits] king committed cmMakefile.cxx 1.397.2.2 1.397.2.3 cmMakefile.h 1.206.2.1 1.206.2.2 cmSourceFile.h 1.21.2.1 1.21.2.2

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jun 13 15:21:54 EDT 2007


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

Modified Files:
      Tag: CMake-SourceFile2-b
	cmMakefile.cxx cmMakefile.h cmSourceFile.h 
Log Message:
STYLE: Removed commented-out code that is no longer needed.


Index: cmSourceFile.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSourceFile.h,v
retrieving revision 1.21.2.1
retrieving revision 1.21.2.2
diff -u -d -r1.21.2.1 -r1.21.2.2
--- cmSourceFile.h	11 Jun 2007 22:23:34 -0000	1.21.2.1
+++ cmSourceFile.h	13 Jun 2007 19:21:52 -0000	1.21.2.2
@@ -79,9 +79,6 @@
   // Define the properties
   static void DefineProperties(cmake *cm);
 
-  ///! Set the cmMakefile that owns this target
-  //cmMakefile *GetMakefile() { return this->Makefile;};
-
   /**
    * Check whether the given source file location could refer to this
    * source.

Index: cmMakefile.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.h,v
retrieving revision 1.206.2.1
retrieving revision 1.206.2.2
diff -u -d -r1.206.2.1 -r1.206.2.2
--- cmMakefile.h	11 Jun 2007 22:23:34 -0000	1.206.2.1
+++ cmMakefile.h	13 Jun 2007 19:21:52 -0000	1.206.2.2
@@ -461,9 +461,6 @@
    */
   cmSourceFile* GetSource(const char* sourceName);
 
-  ///! Add a new cmSourceFile to the list of sources for this makefile.
-  //cmSourceFile* AddSource(cmSourceFile const&);
-
   /** Get a cmSourceFile pointer for a given source name, if the name is
    *  not found, then create the source file and return it. generated 
    * indicates if it is a generated file, this is used in determining

Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.397.2.2
retrieving revision 1.397.2.3
diff -u -d -r1.397.2.2 -r1.397.2.3
--- cmMakefile.cxx	13 Jun 2007 17:44:35 -0000	1.397.2.2
+++ cmMakefile.cxx	13 Jun 2007 19:21:52 -0000	1.397.2.3
@@ -2153,22 +2153,6 @@
     }
 }
 
-#if 0
-cmSourceFile* cmMakefile::AddSource(cmSourceFile const&sf)
-{
-  // check to see if it exists
-  cmSourceFile* ret = this->GetSource(sf.GetFullPath().c_str());
-  if(ret)
-    {
-    return ret;
-    }
-  ret = new cmSourceFile(sf);
-  this->SourceFiles.push_back(ret);
-  return ret;
-}
-#endif
-
-
 void cmMakefile::EnableLanguage(std::vector<std::string> const &  lang)
 {
   this->AddDefinition("CMAKE_CFG_INTDIR",



More information about the Cmake-commits mailing list