summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-04 17:25:37 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-04 17:25:37 (GMT)
commit1f4ef39603f3184ac3f78e1f52529947303b1bd1 (patch)
tree68481d4905c74bfe90192fb5ec5cef7c3c2dea3f /Source/cmLocalGenerator.cxx
parent91cd014d6452371056bb3f96de29967f506b3bd7 (diff)
downloadCMake-1f4ef39603f3184ac3f78e1f52529947303b1bd1.zip
CMake-1f4ef39603f3184ac3f78e1f52529947303b1bd1.tar.gz
CMake-1f4ef39603f3184ac3f78e1f52529947303b1bd1.tar.bz2
cmLocalGenerator: Remove some commented lines of code.
They've been commented out for a decade, which seems long enough.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index da95a4d..fe71d0f 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -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;