Browse Source

ENH: remove unused code

Bill Hoffman 20 năm trước cách đây
mục cha
commit
2ebbf64508
2 tập tin đã thay đổi với 0 bổ sung14 xóa
  1. 0 11
      Source/cmLocalGenerator.cxx
  2. 0 3
      Source/cmLocalGenerator.h

+ 0 - 11
Source/cmLocalGenerator.cxx

@@ -1077,17 +1077,6 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs,
     }
 }
 
-
-void 
-cmLocalGenerator::DetermineLibraryPathOrder(const cmTarget& target,
-                                            std::vector<std::string>& 
-                                            linkPaths,
-                                            std::vector<std::string>&
-                                            linkLibs)
-{ 
-
-}
-
 /**
  * Output the linking rules on a command line.  For executables,
  * targetLibrary should be a NULL pointer.  For libraries, it should point

+ 0 - 3
Source/cmLocalGenerator.h

@@ -103,9 +103,6 @@ public:
   ///! for existing files convert to output path and short path if spaces
   std::string ConvertToOutputForExisting(const char* p);
   
-  void DetermineLibraryPathOrder(const cmTarget& target,
-                                 std::vector<std::string>& linkPaths,
-                                 std::vector<std::string>& linkLibs);
 protected:
   /** Construct a script from the given list of command lines.  */
   std::string ConstructScript(const cmCustomCommandLines& commandLines,