mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-16 17:01:53 +00:00
Make documentation of static functions configurable.
Deek doesn't want docs for static functions, but I do. When two developers disagree on something like this, there's only one thing to do :)
This commit is contained in:
parent
98da73ae70
commit
1b2a5d69f5
2 changed files with 10 additions and 1 deletions
|
@ -114,6 +114,15 @@ m4_include(config.d/build_control.m4)
|
||||||
m4_include(config.d/qfcc.m4)
|
m4_include(config.d/qfcc.m4)
|
||||||
m4_include(config.d/compiling.m4)
|
m4_include(config.d/compiling.m4)
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(static-doc,
|
||||||
|
[ --enable-static-doc Enable generation of doxygen docs for static]
|
||||||
|
[ functions.])
|
||||||
|
STATIC_DOC=NO
|
||||||
|
if test "x$enable_static_doc" = xyes; then
|
||||||
|
STATIC_DOC=YES
|
||||||
|
fi
|
||||||
|
AC_SUBST(STATIC_DOC)
|
||||||
|
|
||||||
AC_ARG_ENABLE(typecheck-progs,
|
AC_ARG_ENABLE(typecheck-progs,
|
||||||
[ --enable-typecheck-progs Enable type checking on progs field access])
|
[ --enable-typecheck-progs Enable type checking on progs field access])
|
||||||
if test "x$enable_typecheck_progs" = xyes; then
|
if test "x$enable_typecheck_progs" = xyes; then
|
||||||
|
|
|
@ -308,7 +308,7 @@ EXTRACT_PRIVATE = NO
|
||||||
# If the EXTRACT_STATIC tag is set to YES all static members of a file
|
# If the EXTRACT_STATIC tag is set to YES all static members of a file
|
||||||
# will be included in the documentation.
|
# will be included in the documentation.
|
||||||
|
|
||||||
EXTRACT_STATIC = NO
|
EXTRACT_STATIC = @STATIC_DOC@
|
||||||
|
|
||||||
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
|
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
|
||||||
# defined locally in source files will be included in the documentation.
|
# defined locally in source files will be included in the documentation.
|
||||||
|
|
Loading…
Reference in a new issue