Skip to content
Snippets Groups Projects
Commit 3850df17 authored by Felix Gruber's avatar Felix Gruber Committed by Christoph Grüninger
Browse files

[CMake] add dependencies for Doxyfile[.in]

parent 847f72f3
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,8 @@ MACRO (prepare_doxyfile)
message(STATUS "using ${DOXYSTYLE_FILE} to create doxystyle file")
set(make_doxyfile_command ${CMAKE_COMMAND} -D DOT_TRUE=${DOT_TRUE} -D DUNEWEB_TRUE=\# -D ProjectName=${ProjectName} -D DUNE_MOD_VERSION=${DUNE_MOD_VERSION} -D DOXYSTYLE=${DOXYSTYLE_FILE} -D DOXYLOCAL=${CMAKE_CURRENT_SOURCE_DIR}/Doxylocal -D abs_top_srcdir=${CMAKE_SOURCE_DIR} -D srcdir=${CMAKE_CURRENT_SOURCE_DIR} -D top_srcdir=${CMAKE_SOURCE_DIR} -P ${SCRIPT_DIR}/CreateDoxyFile.cmake)
add_custom_command (OUTPUT Doxyfile.in Doxyfile
COMMAND ${make_doxyfile_command} COMMENT "Creating Doxyfile.in")
COMMAND ${make_doxyfile_command} COMMENT "Creating Doxyfile.in"
DEPENDS ${DOXYSTYLE_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/Doxylocal)
add_custom_target(Doxyfile DEPENDS Doxyfile.in Doxyfile)
ENDMACRO (prepare_doxyfile)
......
......@@ -7,7 +7,7 @@ FILE(APPEND Doxyfile.in ${file_contents})
# configure_file does not work as it insists an existing input file, which in our
# needs to be generated first.
# Therfore we read the Doxyfile.in and replace the variables using STRING(CONFIGURE)
# Therefore we read the Doxyfile.in and replace the variables using STRING(CONFIGURE)
# and the write the file.
FILE(READ Doxyfile.in file_contents)
STRING(CONFIGURE ${file_contents} output)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment