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
3444105f
Commit
3444105f
authored
Oct 08, 2016
by
Stephen Kelly
Browse files
cmLocalGenerator: Inline last use of local variable
parent
77c4202e
Pipeline
#30050
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Source/cmLocalGenerator.cxx
View file @
3444105f
...
...
@@ -1404,8 +1404,6 @@ void cmLocalGenerator::OutputLinkLibraries(
{
OutputFormat
shellFormat
=
(
forResponseFile
)
?
RESPONSE
:
((
useWatcomQuote
)
?
WATCOMQUOTE
:
SHELL
);
bool
escapeAllowMakeVars
=
!
forResponseFile
;
cmComputeLinkInformation
&
cli
=
*
pcli
;
std
::
string
linkLanguage
=
cli
.
GetLinkLanguage
();
...
...
@@ -1457,7 +1455,7 @@ void cmLocalGenerator::OutputLinkLibraries(
std
::
string
rpath_link
=
cli
.
GetRPathLinkString
();
if
(
!
cli
.
GetRPathLinkFlag
().
empty
()
&&
!
rpath_link
.
empty
())
{
fout
<<
cli
.
GetRPathLinkFlag
();
fout
<<
this
->
EscapeForShell
(
rpath_link
,
escapeAllowMakeVars
);
fout
<<
this
->
EscapeForShell
(
rpath_link
,
!
forResponseFile
);
fout
<<
" "
;
}
...
...
Brad King
@brad.king
Mentioned in commit
656ebaca
·
Oct 10, 2016
Mentioned in commit
656ebaca
Mentioned in commit 656ebaca3be50e92edca3d9628b784f5ff1e6a99
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