فهرست منبع

cmLocalGenerator: Remove obsolete method.

Stephen Kelly 10 سال پیش
والد
کامیت
3d8c6cd964
2فایلهای تغییر یافته به همراه0 افزوده شده و 15 حذف شده
  1. 0 8
      Source/cmLocalGenerator.cxx
  2. 0 7
      Source/cmLocalGenerator.h

+ 0 - 8
Source/cmLocalGenerator.cxx

@@ -2669,14 +2669,6 @@ cmLocalGenerator::ConstructComment(cmCustomCommandGenerator const& ccg,
   return default_comment;
 }
 
-//----------------------------------------------------------------------------
-std::string
-cmLocalGenerator::ConvertToOptionallyRelativeOutputPath(
-                                                    const std::string& remote)
-{
-  return this->Convert(remote, START_OUTPUT, SHELL, true);
-}
-
 //----------------------------------------------------------------------------
 const char* cmLocalGenerator::GetRelativeRootPath(RelativeRoot relroot)
 {

+ 0 - 7
Source/cmLocalGenerator.h

@@ -126,13 +126,6 @@ public:
     */
   const char* GetRelativeRootPath(RelativeRoot relroot);
 
-  /**
-   * Convert the given path to an output path.  The
-   * remote path must use forward slashes and not already be escaped
-   * or quoted.
-   */
-  std::string ConvertToOptionallyRelativeOutputPath(const std::string& remote);
-
   ///! set/get the parent generator
   cmLocalGenerator* GetParent() const {return this->Parent;}