Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
ffb2d5de
Commit
ffb2d5de
authored
Dec 14, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70 from albert-github/feature/developer_usage
usage: make -d print dev doxygen options
parents
e82e063b
cdbcb67c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
+19
-19
debug.cpp
src/debug.cpp
+12
-0
debug.h
src/debug.h
+1
-0
doxygen.cpp
src/doxygen.cpp
+6
-19
No files found.
src/debug.cpp
View file @
ffb2d5de
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include <qdict.h>
#include <qdict.h>
#include "debug.h"
#include "debug.h"
#include "message.h"
//------------------------------------------------------------------------
//------------------------------------------------------------------------
...
@@ -120,3 +121,14 @@ bool Debug::isFlagSet(DebugMask mask)
...
@@ -120,3 +121,14 @@ bool Debug::isFlagSet(DebugMask mask)
return
(
curMask
&
mask
)
!=
0
;
return
(
curMask
&
mask
)
!=
0
;
}
}
void
Debug
::
printFlags
(
void
)
{
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
s_labels
)
/
sizeof
(
*
s_labels
);
i
++
)
{
if
(
s_labels
[
i
].
name
)
{
msg
(
"
\t
%s
\n
"
,
s_labels
[
i
].
name
);
}
}
}
src/debug.h
View file @
ffb2d5de
...
@@ -43,6 +43,7 @@ class Debug
...
@@ -43,6 +43,7 @@ class Debug
static
int
setFlag
(
const
char
*
label
);
static
int
setFlag
(
const
char
*
label
);
static
void
clearFlag
(
const
char
*
label
);
static
void
clearFlag
(
const
char
*
label
);
static
bool
isFlagSet
(
DebugMask
mask
);
static
bool
isFlagSet
(
DebugMask
mask
);
static
void
printFlags
(
void
);
static
void
setPriority
(
int
p
);
static
void
setPriority
(
int
p
);
private
:
private
:
...
...
src/doxygen.cpp
View file @
ffb2d5de
...
@@ -9775,25 +9775,12 @@ static void dumpSymbolMap()
...
@@ -9775,25 +9775,12 @@ static void dumpSymbolMap()
// print developer options of doxygen
// print developer options of doxygen
static
void
devUsage
()
static
void
devUsage
()
{
{
msg
(
"developer parameters:
\n
"
);
msg
(
"Developer parameters:
\n
"
);
msg
(
"-m dump symbol map
\n
"
);
msg
(
" -m dump symbol map
\n
"
);
msg
(
"-b output to wizard
\n
"
);
msg
(
" -b output to wizard
\n
"
);
msg
(
"-T activates output generation via Django like template
\n
"
);
msg
(
" -T activates output generation via Django like template
\n
"
);
msg
(
"-d <level> Enable a debug level, such as:
\n
"
);
msg
(
" -d <level> enable a debug level, such as (multiple invocations of -d are possible):
\n
"
);
msg
(
"
\t
findmembers
\n
"
);
Debug
::
printFlags
();
msg
(
"
\t
functions
\n
"
);
msg
(
"
\t
variables
\n
"
);
msg
(
"
\t
preprocessor
\n
"
);
msg
(
"
\t
classes
\n
"
);
msg
(
"
\t
commentcnv
\n
"
);
msg
(
"
\t
commentscan
\n
"
);
msg
(
"
\t
validate
\n
"
);
msg
(
"
\t
printtree
\n
"
);
msg
(
"
\t
time
\n
"
);
msg
(
"
\t
extcmd
\n
"
);
msg
(
"
\t
markdown
\n
"
);
msg
(
"
\t
filteroutput
\n
"
);
msg
(
"
\t
lex
\n
"
);
}
}
...
...
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