Commit 9c78c8e3 authored by Bednárek David RNDr. Ph.D.'s avatar Bednárek David RNDr. Ph.D.
Browse files

cmake doxygen support improved

parent e23100b0
......@@ -27,6 +27,10 @@ if(NOT DEFINED MAKE_DOXYGEN)
message("MAKE_DOXYGEN was not defined, defaulting to FALSE")
endif()
if(NOT DEFINED DOXYGEN_OUTPUT_DIRECTORY)
set(DOXYGEN_OUTPUT_DIRECTORY "." CACHE FILEPATH "Doxygen output directory (relative to <build>/fmwk)")
endif()
if(MAKE_DOXYGEN)
find_package(Doxygen REQUIRED dot)
endif()
......@@ -174,6 +178,8 @@ endfunction()
function(DOXYGEN TARGET)
if(MAKE_DOXYGEN)
set(DOXYGEN_DOT_IMAGE_FORMAT svg)
#set(DOXYGEN_GENERATE_TAGFILE "fmwk.tag")
doxygen_add_docs("${TARGET}" ${ARGN} ALL)
endif()
endfunction()
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment