summaryrefslogtreecommitdiff
path: root/Source/cmOutputConverter.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 19:01:20 +0200
committerStephen Kelly <steveire@gmail.com>2016-09-19 21:36:15 +0200
commit6429d6d9dd94523c75e982fa875028e3e32a0629 (patch)
treea372a3a65bca8a2ffba4ceef87bb43929a08bfa3 /Source/cmOutputConverter.h
parentad79061720b8f68cd8e406aadd240d233d2a1073 (diff)
downloadcmake-6429d6d9dd94523c75e982fa875028e3e32a0629.tar.gz
cmOutputConverter: Remove now-obsolete Convert method
Diffstat (limited to 'Source/cmOutputConverter.h')
-rw-r--r--Source/cmOutputConverter.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h
index b2ae936fd2..cc24e53c41 100644
--- a/Source/cmOutputConverter.h
+++ b/Source/cmOutputConverter.h
@@ -24,24 +24,6 @@ class cmOutputConverter
public:
cmOutputConverter(cmState::Snapshot snapshot);
- /**
- * Convert something to something else. This is a centralized conversion
- * routine used by the generators to handle relative paths and the like.
- * The flags determine what is actually done.
- *
- * relative: treat the argument as a directory and convert it to make it
- * relative or full or unchanged. If relative (HOME, START etc) then that
- * specifies what it should be relative to.
- *
- * output: make the result suitable for output to a...
- *
- * optional: should any relative path operation be controlled by the rel
- * path setting
- */
- enum RelativeRoot
- {
- START_OUTPUT
- };
enum OutputFormat
{
SHELL,
@@ -50,10 +32,6 @@ public:
};
std::string ConvertToOutputFormat(const std::string& source,
OutputFormat output) const;
- std::string Convert(const std::string& remote, RelativeRoot local,
- OutputFormat output) const;
- std::string ConvertToRelativePath(const std::string& remote,
- RelativeRoot local) const;
std::string ConvertDirectorySeparatorsForShell(
const std::string& source) const;