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
638667ef
Commit
638667ef
authored
Jul 15, 2018
by
Florian Maushart
Committed by
Brad King
Jan 25, 2019
Browse files
cmake: cmcmd.cxx fix "The arguments are" comments
Changed "argv" to "args" in comments to match parameter names
parent
3ca44029
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmcmd.cxx
View file @
638667ef
...
...
@@ -1351,8 +1351,8 @@ static void cmcmdProgressReport(std::string const& dir, std::string const& num)
int
cmcmd
::
ExecuteEchoColor
(
std
::
vector
<
std
::
string
>&
args
)
{
// The arguments are
// arg
v
[0] == <cmake-executable>
// arg
v
[1] == cmake_echo_color
// arg
s
[0] == <cmake-executable>
// arg
s
[1] == cmake_echo_color
bool
enabled
=
true
;
int
color
=
cmsysTerminal_Color_Normal
;
...
...
@@ -1409,10 +1409,10 @@ int cmcmd::ExecuteEchoColor(std::vector<std::string>& args)
int
cmcmd
::
ExecuteLinkScript
(
std
::
vector
<
std
::
string
>&
args
)
{
// The arguments are
// arg
v
[0] == <cmake-executable>
// arg
v
[1] == cmake_link_script
// arg
v
[2] == <link-script-name>
// arg
v
[3] == --verbose=?
// arg
s
[0] == <cmake-executable>
// arg
s
[1] == cmake_link_script
// arg
s
[2] == <link-script-name>
// arg
s
[3] == --verbose=?
bool
verbose
=
false
;
if
(
args
.
size
()
>=
4
)
{
if
(
args
[
3
].
find
(
"--verbose="
)
==
0
)
{
...
...
Brad King
@brad.king
mentioned in commit
9620cb93
·
Jan 29, 2019
mentioned in commit
9620cb93
mentioned in commit 9620cb935a49e7b4955f5b1d0ffa2e93b4327591
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