Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
dc95020e
Commit
dc95020e
authored
Aug 27, 2016
by
Stephen Kelly
Browse files
Convert: Remove obsolete MAKERULE enum value
parent
1825f876
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmOutputConverter.cxx
View file @
dc95020e
...
...
@@ -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
)
{
...
...
Source/cmOutputConverter.h
View file @
dc95020e
...
...
@@ -45,7 +45,6 @@ public:
};
enum
OutputFormat
{
MAKERULE
,
SHELL
,
WATCOMQUOTE
,
RESPONSE
...
...
Brad King
@brad.king
mentioned in commit
160a7ad6
·
Sep 20, 2016
mentioned in commit
160a7ad6
mentioned in commit 160a7ad64092299096f79b2ff1adf5bbcc8cad77
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment