summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 17:55:31 +0200
committerStephen Kelly <steveire@gmail.com>2016-09-19 21:36:12 +0200
commitf1d845ae74dd9ba0520b1f97c851e439f1c4df07 (patch)
tree42094af52d0888b8ad291eb80e47debcfa430582 /Source
parent0a98c74c1ba025957b2a3933d9897750109390bf (diff)
downloadcmake-f1d845ae74dd9ba0520b1f97c851e439f1c4df07.tar.gz
Convert: Remove obsolete HOME and START enum values
Diffstat (limited to 'Source')
-rw-r--r--Source/cmOutputConverter.cxx8
-rw-r--r--Source/cmOutputConverter.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx
index ae7c58307f..f5321ed09e 100644
--- a/Source/cmOutputConverter.cxx
+++ b/Source/cmOutputConverter.cxx
@@ -52,14 +52,6 @@ std::string cmOutputConverter::ConvertToRelativePath(
std::string result;
switch (relative) {
- case HOME:
- result = this->ConvertToRelativePath(
- this->GetState()->GetSourceDirectory(), source);
- break;
- case START:
- result = this->ConvertToRelativePath(
- this->StateSnapshot.GetDirectory().GetCurrentSource(), source);
- break;
case HOME_OUTPUT:
result = this->ConvertToRelativePath(
this->GetState()->GetBinaryDirectory(), source);
diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h
index 1efe109aa4..44c5c80afb 100644
--- a/Source/cmOutputConverter.h
+++ b/Source/cmOutputConverter.h
@@ -40,8 +40,6 @@ public:
*/
enum RelativeRoot
{
- HOME,
- START,
HOME_OUTPUT,
START_OUTPUT
};