From 9a352e0b8f8ba4fa9a5b5a7008ceef276756b700 Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 19 Mar 2018 20:38:10 +0100 Subject: [PATCH] Do not add source files to Doxygen target Adding the files only has the effect that the files are shown in the IDE. However, the files should be present anyways and adding them again causes Qt Creator to accidently use the wrong target for the code model. --- cmake/modules/Doxygen.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/modules/Doxygen.cmake b/cmake/modules/Doxygen.cmake index 48c815a..cf60eb3 100644 --- a/cmake/modules/Doxygen.cmake +++ b/cmake/modules/Doxygen.cmake @@ -57,7 +57,6 @@ configure_file( # add target for generating API documentation add_custom_target("${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX}_apidoc" COMMAND "${DOXYGEN_BIN}" "${CMAKE_CURRENT_BINARY_DIR}/doxygen.config" - SOURCES ${DOXY_INPUT_FILES} ) if(NOT TARGET apidoc) add_custom_target(apidoc)