Skip to content

FindDoxygen: run target only when docs source files changes

Nikita Sirgienko requested to merge (removed):master into master

In current realization doxygen_add_docs used add_custom_target. According documentation, add_custom_target always considered as out of date, so if you add doxygen target with name, for example, docs to ALL, cmake will always run the target (and doxygen executable, of course) every build run, even if source code, used to generate, don't changed.

This commit fix it via using add_custom_command, so now this target will be run, only if files, using by doxygen, will changes.

Topic-rename: doxygen-add-docs-USE_STAMP_FILE

Edited by Craig Scott

Merge request reports