From ffbe723681e40f92d1baa4c1d57ba9cf91ee24b5 Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Wed, 16 Mar 2022 06:51:13 -0600 Subject: [PATCH] Fix #2064, Use osal-common.doxygen to resolve OSAL Doxygen refs --- cmake/cfe-usersguide.doxyfile.in | 8 +++++--- cmake/mission_build.cmake | 2 -- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/cfe-usersguide.doxyfile.in b/cmake/cfe-usersguide.doxyfile.in index eb950b381..fa6466dd3 100644 --- a/cmake/cfe-usersguide.doxyfile.in +++ b/cmake/cfe-usersguide.doxyfile.in @@ -5,14 +5,16 @@ # Allow overrides @INCLUDE_PATH = @MISSION_SOURCE_DIR@ -# Common configuration and default settings +# Common setup @INCLUDE = @MISSION_BINARY_DIR@/docs/cfe-common.doxyfile -@INCLUDE = @MISSION_SOURCE_DIR@/osal/docs/src/default-settings.doxyfile + +# Include osal to resolve references and provide default settings +@INCLUDE = @MISSION_BINARY_DIR@/docs/osal-common.doxyfile # Document specific settings PROJECT_NAME = "Core Flight Executive Users Guide" OUTPUT_DIRECTORY = @CMAKE_BINARY_DIR@/docs/users_guide -WARN_LOGFILE = @CMAKE_BINARY_DIR@/docs/cfe-usersguide-warnings.log +WARN_LOGFILE = @CMAKE_BINARY_DIR@/docs/users_guide/cfe-usersguide-warnings.log # For purposes of the user guide, reference the "stock" mission configuration # Although missions may override these files, for the users guide we are mainly diff --git a/cmake/mission_build.cmake b/cmake/mission_build.cmake index 13da95f84..8d96f8046 100644 --- a/cmake/mission_build.cmake +++ b/cmake/mission_build.cmake @@ -290,7 +290,6 @@ function(prepare) # NOTE: the userguide is built against the headers of the default core apps. Even if # an alternate version of the module is in use, it should adhere to the same interface. set(SUBMODULE_HEADER_PATHS - "${osal_MISSION_DIR}/src/os/inc/*.h" "${psp_MISSION_DIR}/psp/fsw/inc/*.h" ) foreach(MODULE core_api ${MISSION_CORE_MODULES}) @@ -298,7 +297,6 @@ function(prepare) endforeach() file(GLOB MISSION_USERGUIDE_HEADERFILES ${SUBMODULE_HEADER_PATHS} - "${CMAKE_BINARY_DIR}/docs/osconfig-example.h" ) string(REPLACE ";" " \\\n" MISSION_USERGUIDE_HEADERFILES "${MISSION_USERGUIDE_HEADERFILES}")