Skip to content

Commit

Permalink
Fix #1589, Separate warning file for doc builds
Browse files Browse the repository at this point in the history
Use a unique file name for the doxygen warnings, instead
of "warnings.log", so the mutiple documentation targets
will not overwrite the other log file.

Use a prefixed name so that if the log file is uploaded
to the build artifacts, it will be identifiable.

Detail Design warnings in: detaildesign-warnings.log
Users Guide warnings in: cfe-usersguide-warnings.log
  • Loading branch information
jphickey committed Jun 8, 2021
1 parent c742819 commit 24ddaf7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmake/cfe-common.doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ GENERATE_DEPRECATEDLIST= YES
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
WARN_NO_PARAMDOC = YES
WARN_LOGFILE = @CMAKE_BINARY_DIR@/doc/warnings.log
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions cmake/cfe-usersguide.doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ INPUT += @MISSION_SOURCE_DIR@/cfe/docs/src/main.dox
@INCLUDE = @MISSION_BINARY_DIR@/doc/cfe-common.doxyfile
PROJECT_NAME = "Core Flight Executive Users Guide"
OUTPUT_DIRECTORY = @CMAKE_BINARY_DIR@/doc/users_guide
WARN_LOGFILE = @CMAKE_BINARY_DIR@/doc/cfe-usersguide-warnings.log
GENERATE_LATEX = YES

# For purposes of the user guide, reference the "stock" mission configuration
Expand Down
1 change: 1 addition & 0 deletions cmake/mission-detaildesign.doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
PROJECT_NAME = "@MISSION_NAME@"
PROJECT_BRIEF = "Core Flight System project built using \"@MISSIONCONFIG@\" configuration"
OUTPUT_DIRECTORY = @CMAKE_BINARY_DIR@/doc/detaildesign
WARN_LOGFILE = @CMAKE_BINARY_DIR@/doc/detaildesign-warnings.log

INPUT += @MISSION_DEFS@
STRIP_FROM_PATH += @MISSION_DEFS@
Expand Down

0 comments on commit 24ddaf7

Please sign in to comment.