diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 16:10:25 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-09-19 19:36:13 (GMT) |
commit | dc95020efa8cd29f199e6bac5ec3e556ab8584b7 (patch) | |
tree | 969b78f8a5da46b2989d11f5619d8b9c90702483 /Source | |
parent | 1825f876a7467a97b1cb3f6dd60f95c173d9e61b (diff) | |
download | CMake-dc95020efa8cd29f199e6bac5ec3e556ab8584b7.zip CMake-dc95020efa8cd29f199e6bac5ec3e556ab8584b7.tar.gz CMake-dc95020efa8cd29f199e6bac5ec3e556ab8584b7.tar.bz2 |
Convert: Remove obsolete MAKERULE enum value
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmOutputConverter.cxx | 4 | ||||
-rw-r--r-- | Source/cmOutputConverter.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx index f5321ed..cc3ee93f 100644 --- a/Source/cmOutputConverter.cxx +++ b/Source/cmOutputConverter.cxx @@ -78,9 +78,7 @@ std::string cmOutputConverter::ConvertToOutputFormat(const std::string& source, { std::string result = source; // Convert it to an output path. - if (output == MAKERULE) { - result = cmSystemTools::ConvertToOutputPath(result.c_str()); - } else if (output == SHELL || output == WATCOMQUOTE) { + if (output == SHELL || output == WATCOMQUOTE) { result = this->ConvertDirectorySeparatorsForShell(source); result = this->EscapeForShell(result, true, false, output == WATCOMQUOTE); } else if (output == RESPONSE) { diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h index 44c5c80..f4eedcf 100644 --- a/Source/cmOutputConverter.h +++ b/Source/cmOutputConverter.h @@ -45,7 +45,6 @@ public: }; enum OutputFormat { - MAKERULE, SHELL, WATCOMQUOTE, RESPONSE |