浏览代码

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;}