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.
This commit is contained in:
parent
7b974a1b1d
commit
9a352e0b8f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue