diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in index 7f407c790..93a26c5a2 100644 --- a/docs/Doxyfile.in +++ b/docs/Doxyfile.in @@ -58,7 +58,7 @@ PROJECT_LOGO = # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = @bin_basedir@/docs +OUTPUT_DIRECTORY = @doc_output@ # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and @@ -829,7 +829,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = @src_basedir@/model/src +INPUT = @src_input@ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/docs/cmake/EnableDoxygen.cmake b/docs/cmake/EnableDoxygen.cmake index 02246f9e5..c413a1036 100644 --- a/docs/cmake/EnableDoxygen.cmake +++ b/docs/cmake/EnableDoxygen.cmake @@ -8,8 +8,8 @@ function(EnableDoxygen outdir) return() endif() - set(src_basedir "${CMAKE_SOURCE_DIR}") - set(bin_basedir "${CMAKE_BINARY_DIR}") + set(src_input "${CMAKE_SOURCE_DIR}/model/src") + set(doc_output "${CMAKE_BINARY_DIR}/${outdir}") file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${outdir}/html) CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/docs/Doxyfile.in ${CMAKE_BINARY_DIR}/${outdir}/Doxyfile @ONLY)