Skip to content

Commit

Permalink
docs: use CMake for doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
willeccles committed Sep 5, 2024
1 parent e4c6f07 commit a23d0f2
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2,828 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ FetchContent_Declare(fast_float
message(STATUS "Fetch fast_float")
FetchContent_MakeAvailable(fast_float)

find_package(Doxygen 1.9 COMPONENTS dot QUIET)

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)

add_library(absscpi ${ABSSCPI_LIB_TYPE}
Expand Down Expand Up @@ -120,6 +122,10 @@ target_link_libraries(absscpi PRIVATE
${BOOST_LIBS}
)

if(DOXYGEN_FOUND)
include(cmake/add_doxygen_target.cmake)
endif()

if(ABSSCPI_INSTALL AND BUILD_SHARED_LIBS)
include(CMakePackageConfigHelpers)

Expand Down
Loading

0 comments on commit a23d0f2

Please sign in to comment.