diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:53 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:53 (GMT) |
commit | fbd83948675f4b1cb487d59390cfe1689f801fc0 (patch) | |
tree | c8a78d69240ee92f70ee5c13d9fadd61d409ba4e /Source/cmOutputConverter.cxx | |
parent | c341f4679ad00cb65c7660b474ddabd13d0ef498 (diff) | |
download | CMake-fbd83948675f4b1cb487d59390cfe1689f801fc0.zip CMake-fbd83948675f4b1cb487d59390cfe1689f801fc0.tar.gz CMake-fbd83948675f4b1cb487d59390cfe1689f801fc0.tar.bz2 |
Convert: Remove obsolete GetRelativeRootPath
Diffstat (limited to 'Source/cmOutputConverter.cxx')
-rw-r--r-- | Source/cmOutputConverter.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx index 5e1babc..98872d6 100644 --- a/Source/cmOutputConverter.cxx +++ b/Source/cmOutputConverter.cxx @@ -46,23 +46,6 @@ std::string cmOutputConverter::ConvertToOutputForExisting( return this->ConvertToOutputFormat(remote, format); } -const char* cmOutputConverter::GetRelativeRootPath(RelativeRoot relroot) const -{ - switch (relroot) { - case HOME: - return this->GetState()->GetSourceDirectory(); - case START: - return this->StateSnapshot.GetDirectory().GetCurrentSource(); - case HOME_OUTPUT: - return this->GetState()->GetBinaryDirectory(); - case START_OUTPUT: - return this->StateSnapshot.GetDirectory().GetCurrentBinary(); - default: - break; - } - return CM_NULLPTR; -} - std::string cmOutputConverter::Convert(const std::string& source, RelativeRoot relative, OutputFormat output) const |