mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 16:22:47 +01:00
cmake: Remove unused code in GenerateSCMRev.cmake
Remove shader code hash generation code as it's no longer used.
This commit is contained in:
parent
a741513e65
commit
594ea29015
1 changed files with 2 additions and 11 deletions
|
@ -48,15 +48,6 @@ if (BUILD_REPOSITORY)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# The variable SRC_DIR must be passed into the script (since it uses the current build directory for all values of CMAKE_*_DIR)
|
# The variable SRC_DIR must be passed into the script
|
||||||
set(VIDEO_CORE "${SRC_DIR}/src/video_core")
|
# (since it uses the current build directory for all values of CMAKE_*_DIR)
|
||||||
set(HASH_FILES
|
|
||||||
# ...
|
|
||||||
)
|
|
||||||
set(COMBINED "")
|
|
||||||
foreach (F IN LISTS HASH_FILES)
|
|
||||||
file(READ ${F} TMP)
|
|
||||||
set(COMBINED "${COMBINED}${TMP}")
|
|
||||||
endforeach()
|
|
||||||
string(MD5 SHADER_CACHE_VERSION "${COMBINED}")
|
|
||||||
configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY)
|
configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY)
|
||||||
|
|
Loading…
Reference in a new issue