cmLocalGenerator: Remove some commented lines of code.

They've been commented out for a decade, which seems long enough.
This commit is contained in:
Stephen Kelly 2015-06-04 19:25:37 +02:00
parent 91cd014d64
commit 1f4ef39603
1 changed files with 0 additions and 5 deletions

View File

@ -2622,28 +2622,23 @@ std::string cmLocalGenerator::Convert(const std::string& source,
RelativeRoot relative, RelativeRoot relative,
OutputFormat output) OutputFormat output)
{ {
// Convert the path to a relative path.
std::string result = source; std::string result = source;
switch (relative) switch (relative)
{ {
case HOME: case HOME:
//result = cmSystemTools::CollapseFullPath(result.c_str());
result = this->ConvertToRelativePath( result = this->ConvertToRelativePath(
this->GetState()->GetSourceDirectoryComponents(), result); this->GetState()->GetSourceDirectoryComponents(), result);
break; break;
case START: case START:
//result = cmSystemTools::CollapseFullPath(result.c_str());
result = this->ConvertToRelativePath( result = this->ConvertToRelativePath(
this->StateSnapshot.GetCurrentSourceDirectoryComponents(), result); this->StateSnapshot.GetCurrentSourceDirectoryComponents(), result);
break; break;
case HOME_OUTPUT: case HOME_OUTPUT:
//result = cmSystemTools::CollapseFullPath(result.c_str());
result = this->ConvertToRelativePath( result = this->ConvertToRelativePath(
this->GetState()->GetBinaryDirectoryComponents(), result); this->GetState()->GetBinaryDirectoryComponents(), result);
break; break;
case START_OUTPUT: case START_OUTPUT:
//result = cmSystemTools::CollapseFullPath(result.c_str());
result = this->ConvertToRelativePath( result = this->ConvertToRelativePath(
this->StateSnapshot.GetCurrentBinaryDirectoryComponents(), result); this->StateSnapshot.GetCurrentBinaryDirectoryComponents(), result);
break; break;