1616
1717cmake_minimum_required (VERSION 3.16)
1818
19- set (IOX_VERSION_STRING "2.0.0 " )
19+ set (IOX_VERSION_STRING "2.0.1 " )
2020
2121project (iceoryx_doc VERSION ${IOX_VERSION_STRING} )
2222
@@ -26,6 +26,7 @@ set(DOXYGEN_GENERATE_HTML YES)
2626set (DOXYGEN_GENERATE_LATEX YES )
2727set (DOXYGEN_GENERATE_XML YES )
2828set (DOXYGEN_XML_OUTPUT xml)
29+ # if some header need to be excluded from the exclude pattern have a look at INCLUDE_DIR_AND_ADDITIONAL_FILES below
2930set (DOXYGEN_EXCLUDE_PATTERNS "*/internal/*" )
3031set (DOXYGEN_EXCLUDE_SYMBOLS "internal::*" )
3132
@@ -76,8 +77,26 @@ foreach(val RANGE ${cmp_len})
7677
7778 set (DOXYGEN_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /doc /${cmp} )
7879
80+ set (INCLUDE_DIR_AND_ADDITIONAL_FILES ${cmp_dir} /include )
81+ if (${cmp} STREQUAL iceoryx_posh)
82+ list (APPEND INCLUDE_DIR_AND_ADDITIONAL_FILES
83+ ${cmp_dir} /include /iceoryx_posh/internal /popo/base_client.hpp
84+ ${cmp_dir} /include /iceoryx_posh/internal /popo/base_publisher.hpp
85+ ${cmp_dir} /include /iceoryx_posh/internal /popo/base_server.hpp
86+ ${cmp_dir} /include /iceoryx_posh/internal /popo/base_subscriber.hpp
87+ ${cmp_dir} /include /iceoryx_posh/internal /popo/client_impl.hpp
88+ ${cmp_dir} /include /iceoryx_posh/internal /popo/publisher_impl.hpp
89+ ${cmp_dir} /include /iceoryx_posh/internal /popo/server_impl.hpp
90+ ${cmp_dir} /include /iceoryx_posh/internal /popo/subscriber_impl.hpp
91+ ${cmp_dir} /include /iceoryx_posh/internal /popo/untyped_client_impl.hpp
92+ ${cmp_dir} /include /iceoryx_posh/internal /popo/untyped_publisher_impl.hpp
93+ ${cmp_dir} /include /iceoryx_posh/internal /popo/untyped_server_impl.hpp
94+ ${cmp_dir} /include /iceoryx_posh/internal /popo/untyped_subscriber_impl.hpp
95+ )
96+ endif ()
97+
7998 doxygen_add_docs(doxygen_${cmp}
80- ${cmp_dir} / include
99+ ${INCLUDE_DIR_AND_ADDITIONAL_FILES}
81100 WORKING_DIRECTORY ${cmp_dir} /include
82101 ALL )
83102endforeach ()
0 commit comments