Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cristian Adam
CMake
Commits
0d57f4a3
Commit
0d57f4a3
authored
Apr 18, 2006
by
Bill Hoffman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: make sure help has global targets
parent
989b6256
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Source/cmGlobalUnixMakefileGenerator3.cxx
Source/cmGlobalUnixMakefileGenerator3.cxx
+1
-2
No files found.
Source/cmGlobalUnixMakefileGenerator3.cxx
View file @
0d57f4a3
...
...
@@ -808,8 +808,6 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
lg
->
AppendEcho
(
commands
,
"... all (the default if no target is provided)"
);
lg
->
AppendEcho
(
commands
,
"... clean"
);
lg
->
AppendEcho
(
commands
,
"... depend"
);
lg
->
AppendEcho
(
commands
,
"... install"
);
lg
->
AppendEcho
(
commands
,
"... rebuild_cache"
);
// Keep track of targets already listed.
std
::
set
<
cmStdString
>
emittedTargets
;
...
...
@@ -832,6 +830,7 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
(
t
->
second
.
GetType
()
==
cmTarget
::
STATIC_LIBRARY
)
||
(
t
->
second
.
GetType
()
==
cmTarget
::
SHARED_LIBRARY
)
||
(
t
->
second
.
GetType
()
==
cmTarget
::
MODULE_LIBRARY
)
||
(
t
->
second
.
GetType
()
==
cmTarget
::
GLOBAL_TARGET
)
||
(
t
->
second
.
GetType
()
==
cmTarget
::
UTILITY
))
{
if
(
emittedTargets
.
insert
(
t
->
second
.
GetName
()).
second
)
...
...
Write
Preview
Markdown
is supported
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