Skip to content
GitLab
Menu
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
cc5e6b82
Commit
cc5e6b82
authored
Oct 04, 2016
by
Stephen Kelly
Browse files
Ninja: Extract identical code from condition
parent
d9fde87d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmLocalNinjaGenerator.cxx
View file @
cc5e6b82
...
...
@@ -492,10 +492,8 @@ std::string cmLocalNinjaGenerator::MakeCustomLauncher(
if
(
ccg
.
GetWorkingDirectory
().
empty
())
{
output
=
this
->
ConvertToRelativePath
(
this
->
GetCurrentBinaryDirectory
(),
output
);
output
=
this
->
ConvertToOutputFormat
(
output
,
cmOutputConverter
::
SHELL
);
}
else
{
output
=
this
->
ConvertToOutputFormat
(
output
,
cmOutputConverter
::
SHELL
);
}
output
=
this
->
ConvertToOutputFormat
(
output
,
cmOutputConverter
::
SHELL
);
}
vars
.
Output
=
output
.
c_str
();
...
...
Brad King
@brad.king
Mentioned in commit
ea533eb7
·
Oct 10, 2016
Mentioned in commit
ea533eb7
Mentioned in commit ea533eb71516a92e1528e358ffa374b16864eac6
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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