diff options
author | StormBytePP <stormbyte@gmail.com> | 2015-08-16 16:56:11 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2015-08-16 17:15:38 +0200 |
commit | 94f69fb1bcef103392ca27074ebb31ef2ebd27fb (patch) | |
tree | 2047bfd30ae9e34817327a01064835dbf495c9bb /cmake/genrev.cmake | |
parent | 90c9290761ecb7849a036d82c2b93f64920164c6 (diff) |
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
Diffstat (limited to 'cmake/genrev.cmake')
-rw-r--r-- | cmake/genrev.cmake | 8 |
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") |