aboutsummaryrefslogtreecommitdiff
path: root/src/genrev
diff options
context:
space:
mode:
authorclick <none@none>2010-10-14 22:48:55 +0200
committerclick <none@none>2010-10-14 22:48:55 +0200
commit88f196f1a97073b9428d02b16f751af843dfd3ca (patch)
tree9a859d61d445bc9be6c8f370e9cbc26770dec0ab /src/genrev
parenta735d84ecf61fbb05da160ce9ce986d84254f282 (diff)
BuildSystem: Cache results from when pulling the revision-information to avoid regenerating revision.h
(should remove the unneeded rebuilding of some core-files due to that the revision.h file has changed timestamp-wise) --HG-- branch : trunk
Diffstat (limited to 'src/genrev')
-rw-r--r--src/genrev/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/genrev/CMakeLists.txt b/src/genrev/CMakeLists.txt
index bcc874fbd80..316ed5b8580 100644
--- a/src/genrev/CMakeLists.txt
+++ b/src/genrev/CMakeLists.txt
@@ -10,7 +10,6 @@
# Need to pass old ${CMAKE_BINARY_DIR} as param because its different at build stage
add_custom_target(revision.h ALL
- COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_BINARY_DIR}/revision.h
COMMAND ${CMAKE_COMMAND} -DBUILDDIR=${CMAKE_BINARY_DIR} -P ${CMAKE_SOURCE_DIR}/cmake/genrev.cmake
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)