diff options
Diffstat (limited to 'CMakeModules/GenerateSCMRev.cmake')
| -rw-r--r-- | CMakeModules/GenerateSCMRev.cmake | 67 |
1 files changed, 2 insertions, 65 deletions
diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmake index 311ba1c2e..43ca730ec 100644 --- a/CMakeModules/GenerateSCMRev.cmake +++ b/CMakeModules/GenerateSCMRev.cmake | |||
| @@ -48,69 +48,6 @@ if (BUILD_REPOSITORY) | |||
| 48 | endif() | 48 | endif() |
| 49 | endif() | 49 | endif() |
| 50 | 50 | ||
| 51 | # The variable SRC_DIR must be passed into the script (since it uses the current build directory for all values of CMAKE_*_DIR) | 51 | # The variable SRC_DIR must be passed into the script |
| 52 | set(VIDEO_CORE "${SRC_DIR}/src/video_core") | 52 | # (since it uses the current build directory for all values of CMAKE_*_DIR) |
| 53 | set(HASH_FILES | ||
| 54 | "${VIDEO_CORE}/renderer_opengl/gl_arb_decompiler.cpp" | ||
| 55 | "${VIDEO_CORE}/renderer_opengl/gl_arb_decompiler.h" | ||
| 56 | "${VIDEO_CORE}/renderer_opengl/gl_shader_cache.cpp" | ||
| 57 | "${VIDEO_CORE}/renderer_opengl/gl_shader_cache.h" | ||
| 58 | "${VIDEO_CORE}/renderer_opengl/gl_shader_decompiler.cpp" | ||
| 59 | "${VIDEO_CORE}/renderer_opengl/gl_shader_decompiler.h" | ||
| 60 | "${VIDEO_CORE}/renderer_opengl/gl_shader_disk_cache.cpp" | ||
| 61 | "${VIDEO_CORE}/renderer_opengl/gl_shader_disk_cache.h" | ||
| 62 | "${VIDEO_CORE}/shader/decode/arithmetic.cpp" | ||
| 63 | "${VIDEO_CORE}/shader/decode/arithmetic_half.cpp" | ||
| 64 | "${VIDEO_CORE}/shader/decode/arithmetic_half_immediate.cpp" | ||
| 65 | "${VIDEO_CORE}/shader/decode/arithmetic_immediate.cpp" | ||
| 66 | "${VIDEO_CORE}/shader/decode/arithmetic_integer.cpp" | ||
| 67 | "${VIDEO_CORE}/shader/decode/arithmetic_integer_immediate.cpp" | ||
| 68 | "${VIDEO_CORE}/shader/decode/bfe.cpp" | ||
| 69 | "${VIDEO_CORE}/shader/decode/bfi.cpp" | ||
| 70 | "${VIDEO_CORE}/shader/decode/conversion.cpp" | ||
| 71 | "${VIDEO_CORE}/shader/decode/ffma.cpp" | ||
| 72 | "${VIDEO_CORE}/shader/decode/float_set.cpp" | ||
| 73 | "${VIDEO_CORE}/shader/decode/float_set_predicate.cpp" | ||
| 74 | "${VIDEO_CORE}/shader/decode/half_set.cpp" | ||
| 75 | "${VIDEO_CORE}/shader/decode/half_set_predicate.cpp" | ||
| 76 | "${VIDEO_CORE}/shader/decode/hfma2.cpp" | ||
| 77 | "${VIDEO_CORE}/shader/decode/image.cpp" | ||
| 78 | "${VIDEO_CORE}/shader/decode/integer_set.cpp" | ||
| 79 | "${VIDEO_CORE}/shader/decode/integer_set_predicate.cpp" | ||
| 80 | "${VIDEO_CORE}/shader/decode/memory.cpp" | ||
| 81 | "${VIDEO_CORE}/shader/decode/texture.cpp" | ||
| 82 | "${VIDEO_CORE}/shader/decode/other.cpp" | ||
| 83 | "${VIDEO_CORE}/shader/decode/predicate_set_predicate.cpp" | ||
| 84 | "${VIDEO_CORE}/shader/decode/predicate_set_register.cpp" | ||
| 85 | "${VIDEO_CORE}/shader/decode/register_set_predicate.cpp" | ||
| 86 | "${VIDEO_CORE}/shader/decode/shift.cpp" | ||
| 87 | "${VIDEO_CORE}/shader/decode/video.cpp" | ||
| 88 | "${VIDEO_CORE}/shader/decode/warp.cpp" | ||
| 89 | "${VIDEO_CORE}/shader/decode/xmad.cpp" | ||
| 90 | "${VIDEO_CORE}/shader/ast.cpp" | ||
| 91 | "${VIDEO_CORE}/shader/ast.h" | ||
| 92 | "${VIDEO_CORE}/shader/compiler_settings.cpp" | ||
| 93 | "${VIDEO_CORE}/shader/compiler_settings.h" | ||
| 94 | "${VIDEO_CORE}/shader/control_flow.cpp" | ||
| 95 | "${VIDEO_CORE}/shader/control_flow.h" | ||
| 96 | "${VIDEO_CORE}/shader/decode.cpp" | ||
| 97 | "${VIDEO_CORE}/shader/expr.cpp" | ||
| 98 | "${VIDEO_CORE}/shader/expr.h" | ||
| 99 | "${VIDEO_CORE}/shader/node.h" | ||
| 100 | "${VIDEO_CORE}/shader/node_helper.cpp" | ||
| 101 | "${VIDEO_CORE}/shader/node_helper.h" | ||
| 102 | "${VIDEO_CORE}/shader/registry.cpp" | ||
| 103 | "${VIDEO_CORE}/shader/registry.h" | ||
| 104 | "${VIDEO_CORE}/shader/shader_ir.cpp" | ||
| 105 | "${VIDEO_CORE}/shader/shader_ir.h" | ||
| 106 | "${VIDEO_CORE}/shader/track.cpp" | ||
| 107 | "${VIDEO_CORE}/shader/transform_feedback.cpp" | ||
| 108 | "${VIDEO_CORE}/shader/transform_feedback.h" | ||
| 109 | ) | ||
| 110 | set(COMBINED "") | ||
| 111 | foreach (F IN LISTS HASH_FILES) | ||
| 112 | file(READ ${F} TMP) | ||
| 113 | set(COMBINED "${COMBINED}${TMP}") | ||
| 114 | endforeach() | ||
| 115 | string(MD5 SHADER_CACHE_VERSION "${COMBINED}") | ||
| 116 | configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY) | 53 | configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY) |