From c67f217e82af2068d46c197ea97aba93e20b9911 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Tue, 8 Jun 2021 11:40:14 -0400 Subject: [PATCH] Fix #1589, Separate warning file for doc builds 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 --- cmake/cfe-common.doxyfile.in | 1 - cmake/cfe-usersguide.doxyfile.in | 1 + cmake/mission-detaildesign.doxyfile.in | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/cfe-common.doxyfile.in b/cmake/cfe-common.doxyfile.in index 57a0b18b7..8e504d4af 100644 --- a/cmake/cfe-common.doxyfile.in +++ b/cmake/cfe-common.doxyfile.in @@ -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 #--------------------------------------------------------------------------- diff --git a/cmake/cfe-usersguide.doxyfile.in b/cmake/cfe-usersguide.doxyfile.in index 0198d4a81..a610c1cd5 100644 --- a/cmake/cfe-usersguide.doxyfile.in +++ b/cmake/cfe-usersguide.doxyfile.in @@ -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 diff --git a/cmake/mission-detaildesign.doxyfile.in b/cmake/mission-detaildesign.doxyfile.in index 180f87522..fe7c1f9d8 100644 --- a/cmake/mission-detaildesign.doxyfile.in +++ b/cmake/mission-detaildesign.doxyfile.in @@ -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@