From 2ef0c699479b69cf915773b8daae4e7f99c4ac66 Mon Sep 17 00:00:00 2001 From: Simon Hoinkis Date: Mon, 6 Jan 2025 11:39:48 +0100 Subject: [PATCH] iox-#1295 Fix doxygen generation --- doc/aspice_swe3_4/CMakeLists.txt | 52 ++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/doc/aspice_swe3_4/CMakeLists.txt b/doc/aspice_swe3_4/CMakeLists.txt index 095d7effe3..096ec9a601 100644 --- a/doc/aspice_swe3_4/CMakeLists.txt +++ b/doc/aspice_swe3_4/CMakeLists.txt @@ -53,33 +53,12 @@ swcomponent="@par Software Component:" \ error="@par Error Handling:" \ generatedcode="@par Generated by:"]]) +# Do not add new sub-components in this list but use 'INCLUDE_DIR_AND_ADDITIONAL_FILES' set(COMPONENTS iceoryx_platform iceoryx_hoofs iceoryx_posh iceoryx_binding_c iceoryx_introspection iceoryx_component) set(COMPONENT_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_platform/generic - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/buffer - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/cli - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/concurrent/buffer - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/concurrent/sync - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/container - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/design - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/filesystem - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/functional - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/legacy/include - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/memory - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/auth - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/desig - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/filesystem - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/ipc - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/sync - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/time - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/utility - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/vocabulary - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/primitives - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/reporting - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/time - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/utility - ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/vocabulary + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/legacy ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_posh ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_binding_c ${CMAKE_CURRENT_SOURCE_DIR}/../../tools/introspection @@ -117,6 +96,33 @@ foreach(val RANGE ${cmp_len}) ) endif() + if(${cmp} STREQUAL iceoryx_hoofs) + list(APPEND INCLUDE_DIR_AND_ADDITIONAL_FILES + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/buffer + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/cli + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/concurrent/buffer + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/concurrent/sync + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/container + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/design + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/filesystem + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/functional + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/memory + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/auth + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/design + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/filesystem + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/ipc + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/sync + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/time + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/utility + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/posix/vocabulary + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/primitives + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/reporting + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/time + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/utility + ${CMAKE_CURRENT_SOURCE_DIR}/../../iceoryx_hoofs/vocabulary + ) + endif() + doxygen_add_docs(doxygen_${cmp} ${INCLUDE_DIR_AND_ADDITIONAL_FILES} WORKING_DIRECTORY ${cmp_dir}/include