summaryrefslogtreecommitdiffstats
path: root/cmake/git_watcher.cmake
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-01-06 17:00:41 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-01-06 17:00:41 (GMT)
commitde30df322c5b8c01133a008822c691959ebf93a4 (patch)
tree4d9c26ff26b0afd75f1fd43b576e1573c42e5fa7 /cmake/git_watcher.cmake
parentd6ab8a10db09394f2e8368b6f4e787910481f91c (diff)
downloadDoxygen-de30df322c5b8c01133a008822c691959ebf93a4.zip
Doxygen-de30df322c5b8c01133a008822c691959ebf93a4.tar.gz
Doxygen-de30df322c5b8c01133a008822c691959ebf93a4.tar.bz2
Correction behavior of make clean in respect to version files
I case we ran `make clean` it was not possible anymore to generate doxygen as the generated file `generated_src/gitversion.cpp` was not present any more and it was not re-generated. The generation of the `generated_src/gitversion.cpp` depends on teh `generated_src/git_state` file and this file was still present. This has been corrected.
Diffstat (limited to 'cmake/git_watcher.cmake')
-rw-r--r--cmake/git_watcher.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/git_watcher.cmake b/cmake/git_watcher.cmake
index 6a50476..72b7852 100644
--- a/cmake/git_watcher.cmake
+++ b/cmake/git_watcher.cmake
@@ -178,6 +178,7 @@ function(SetupGitMonitoring)
ALL
DEPENDS ${PRE_CONFIGURE_GIT_VERSION_FILE}
BYPRODUCTS ${POST_CONFIGURE_GIT_VERSION_FILE}
+ BYPRODUCTS ${GIT_STATE_FILE}
COMMENT "Checking the git repository for changes..."
COMMAND
${CMAKE_COMMAND}