diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 84461b1e5..f35de0327 100644 --- a/Source/cmLocalGenerator.cxx +++ b/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) { diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 03fe9ba5c..30b622e66 100644 --- a/Source/cmLocalGenerator.h +++ b/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;}