Convert: Remove obsolete MAKERULE enum value
This commit is contained in:
parent
1825f876a7
commit
dc95020efa
|
@ -78,9 +78,7 @@ std::string cmOutputConverter::ConvertToOutputFormat(const std::string& source,
|
||||||
{
|
{
|
||||||
std::string result = source;
|
std::string result = source;
|
||||||
// Convert it to an output path.
|
// Convert it to an output path.
|
||||||
if (output == MAKERULE) {
|
if (output == SHELL || output == WATCOMQUOTE) {
|
||||||
result = cmSystemTools::ConvertToOutputPath(result.c_str());
|
|
||||||
} else if (output == SHELL || output == WATCOMQUOTE) {
|
|
||||||
result = this->ConvertDirectorySeparatorsForShell(source);
|
result = this->ConvertDirectorySeparatorsForShell(source);
|
||||||
result = this->EscapeForShell(result, true, false, output == WATCOMQUOTE);
|
result = this->EscapeForShell(result, true, false, output == WATCOMQUOTE);
|
||||||
} else if (output == RESPONSE) {
|
} else if (output == RESPONSE) {
|
||||||
|
|
|
@ -45,7 +45,6 @@ public:
|
||||||
};
|
};
|
||||||
enum OutputFormat
|
enum OutputFormat
|
||||||
{
|
{
|
||||||
MAKERULE,
|
|
||||||
SHELL,
|
SHELL,
|
||||||
WATCOMQUOTE,
|
WATCOMQUOTE,
|
||||||
RESPONSE
|
RESPONSE
|
||||||
|
|
Loading…
Reference in New Issue