Commit 7894fcf2 authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: support ITK tagfile

parent 3243b101
......@@ -93,6 +93,15 @@ foreach( var ${OTB_DOXYGEN_OUTPUT} )
endif()
endforeach()
set(OTB_DOXYGEN_ITK_TAGFILE "" CACHE FILEPATH "Tagfile containing ITK doxygen")
set(OTB_DOXYGEN_ITK_DOXYGEN_URL "" CACHE STRING "URL to ITK doxygen")
if(("${OTB_DOXYGEN_ITK_TAGFILE}" STREQUAL "") OR ("${OTB_DOXYGEN_ITK_DOXYGEN_URL}" STREQUAL ""))
set(OTB_DOXYGEN_TAGFILE_FIELD "")
else()
set(OTB_DOXYGEN_TAGFILE_FIELD "${OTB_DOXYGEN_ITK_TAGFILE}=${OTB_DOXYGEN_ITK_DOXYGEN_URL}")
endif()
find_package( Perl )
if( PERL_FOUND )
......
......@@ -2055,7 +2055,7 @@ SKIP_FUNCTION_MACROS = YES
# the path). If a tag file is not located in the directory in which doxygen is
# run, you must also specify the path to the tagfile here.
TAGFILES =
TAGFILES = @OTB_DOXYGEN_TAGFILE_FIELD@
# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
# tag file that is based on the input files it reads. See section "Linking to
......
Markdown is supported
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