Skip to content

Commit

Permalink
Fix #2320, adjust scripts and docs for header renames
Browse files Browse the repository at this point in the history
Corrects the paths and references in the documentation build to reflect
the header name changes.

Removes the overrides from "sample_defs" as these are no longer strictly
required, user only needs to override if they really need to change
something.
  • Loading branch information
jphickey committed May 4, 2023
1 parent 2db14ee commit 4bff797
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2,436 deletions.
7 changes: 6 additions & 1 deletion cmake/mission_build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,12 @@ function(prepare)
"${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")
if (IS_DIRECTORY "${${MODULE}_MISSION_DIR}/fsw/inc")
list(APPEND SUBMODULE_HEADER_PATHS "${${MODULE}_MISSION_DIR}/fsw/inc/*.h")
endif()
if (IS_DIRECTORY "${${MODULE}_MISSION_DIR}/config")
list(APPEND SUBMODULE_HEADER_PATHS "${${MODULE}_MISSION_DIR}/config/default_*.h")
endif()
endforeach()
file(GLOB MISSION_USERGUIDE_HEADERFILES
${SUBMODULE_HEADER_PATHS}
Expand Down
131 changes: 0 additions & 131 deletions cmake/sample_defs/cpu1_msgids.h

This file was deleted.

Loading

0 comments on commit 4bff797

Please sign in to comment.