Skip to content

Commit

Permalink
Fix #2064, Use osal-common.doxygen to resolve OSAL Doxygen refs
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Mar 16, 2022
1 parent 4438f72 commit ffbe723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 5 additions & 3 deletions cmake/cfe-usersguide.doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions cmake/mission_build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -290,15 +290,13 @@ 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})
list(APPEND SUBMODULE_HEADER_PATHS "${${MODULE}_MISSION_DIR}/fsw/inc/*.h")
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}")
Expand Down

0 comments on commit ffbe723

Please sign in to comment.