aboutsummaryrefslogtreecommitdiff
path: root/cmake/genrev.cmake
diff options
context:
space:
mode:
authorStormBytePP <stormbyte@gmail.com>2015-08-16 16:56:11 +0200
committerShauren <shauren.trinity@gmail.com>2015-08-16 17:50:40 +0200
commit6a9fc63e412adf7074c2850320cddf007edc3b28 (patch)
tree1fd539b128874dba459afe5f42ab94b84bab5073 /cmake/genrev.cmake
parentb9106ee000f3c4955324739117eba86b8e538a3c (diff)
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
(cherry picked from commit 94f69fb1bcef103392ca27074ebb31ef2ebd27fb)
Diffstat (limited to 'cmake/genrev.cmake')
-rw-r--r--cmake/genrev.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/genrev.cmake b/cmake/genrev.cmake
index 1f5f02ceeec..db722f9fdb8 100644
--- a/cmake/genrev.cmake
+++ b/cmake/genrev.cmake
@@ -66,11 +66,11 @@ else()
endif()
endif()
-# Create the actual revision.h file from the above params
-if(NOT "${rev_hash_cached}" MATCHES "${rev_hash}" OR NOT "${rev_branch_cached}" MATCHES "${rev_branch}" OR NOT EXISTS "${BUILDDIR}/revision.h")
+# Create the actual revision_data.h file from the above params
+if(NOT "${rev_hash_cached}" MATCHES "${rev_hash}" OR NOT "${rev_branch_cached}" MATCHES "${rev_branch}" OR NOT EXISTS "${BUILDDIR}/revision_data.h")
configure_file(
- "${CMAKE_SOURCE_DIR}/revision.h.in.cmake"
- "${BUILDDIR}/revision.h"
+ "${CMAKE_SOURCE_DIR}/revision_data.h.in.cmake"
+ "${BUILDDIR}/revision_data.h"
@ONLY
)
set(rev_hash_cached "${rev_hash}" CACHE INTERNAL "Cached commit-hash")