cmLocalGenerator: Remove some commented lines of code.
They've been commented out for a decade, which seems long enough.
This commit is contained in:
parent
91cd014d64
commit
1f4ef39603
|
@ -2622,28 +2622,23 @@ std::string cmLocalGenerator::Convert(const std::string& source,
|
|||
RelativeRoot relative,
|
||||
OutputFormat output)
|
||||
{
|
||||
// Convert the path to a relative path.
|
||||
std::string result = source;
|
||||
|
||||
switch (relative)
|
||||
{
|
||||
case HOME:
|
||||
//result = cmSystemTools::CollapseFullPath(result.c_str());
|
||||
result = this->ConvertToRelativePath(
|
||||
this->GetState()->GetSourceDirectoryComponents(), result);
|
||||
break;
|
||||
case START:
|
||||
//result = cmSystemTools::CollapseFullPath(result.c_str());
|
||||
result = this->ConvertToRelativePath(
|
||||
this->StateSnapshot.GetCurrentSourceDirectoryComponents(), result);
|
||||
break;
|
||||
case HOME_OUTPUT:
|
||||
//result = cmSystemTools::CollapseFullPath(result.c_str());
|
||||
result = this->ConvertToRelativePath(
|
||||
this->GetState()->GetBinaryDirectoryComponents(), result);
|
||||
break;
|
||||
case START_OUTPUT:
|
||||
//result = cmSystemTools::CollapseFullPath(result.c_str());
|
||||
result = this->ConvertToRelativePath(
|
||||
this->StateSnapshot.GetCurrentBinaryDirectoryComponents(), result);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue