Browse Source

cmLocalGenerator: Remove obsolete method.

Stephen Kelly 10 years ago
parent
commit
3d8c6cd964
2 changed files with 0 additions and 15 deletions
  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;
   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)
 const char* cmLocalGenerator::GetRelativeRootPath(RelativeRoot relroot)
 {
 {

+ 0 - 7
Source/cmLocalGenerator.h

@@ -126,13 +126,6 @@ public:
     */
     */
   const char* GetRelativeRootPath(RelativeRoot relroot);
   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
   ///! set/get the parent generator
   cmLocalGenerator* GetParent() const {return this->Parent;}
   cmLocalGenerator* GetParent() const {return this->Parent;}