diff options
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 64 |
1 files changed, 1 insertions, 63 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 7f22ea97a..57922b51c 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -1,8 +1,3 @@ | |||
| 1 | # Add a custom command to generate a new shader_cache_version hash when any of the following files change | ||
| 2 | # NOTE: This is an approximation of what files affect shader generation, its possible something else | ||
| 3 | # could affect the result, but much more unlikely than the following files. Keeping a list of files | ||
| 4 | # like this allows for much better caching since it doesn't force the user to recompile binary shaders every update | ||
| 5 | set(VIDEO_CORE "${CMAKE_SOURCE_DIR}/src/video_core") | ||
| 6 | if (DEFINED ENV{AZURECIREPO}) | 1 | if (DEFINED ENV{AZURECIREPO}) |
| 7 | set(BUILD_REPOSITORY $ENV{AZURECIREPO}) | 2 | set(BUILD_REPOSITORY $ENV{AZURECIREPO}) |
| 8 | endif() | 3 | endif() |
| @@ -30,64 +25,7 @@ add_custom_command(OUTPUT scm_rev.cpp | |||
| 30 | -DGIT_EXECUTABLE=${GIT_EXECUTABLE} | 25 | -DGIT_EXECUTABLE=${GIT_EXECUTABLE} |
| 31 | -P ${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake | 26 | -P ${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake |
| 32 | DEPENDS | 27 | DEPENDS |
| 33 | # WARNING! It was too much work to try and make a common location for this list, | 28 | # Check that the scm_rev files haven't changed |
| 34 | # so if you need to change it, please update CMakeModules/GenerateSCMRev.cmake as well | ||
| 35 | "${VIDEO_CORE}/renderer_opengl/gl_arb_decompiler.cpp" | ||
| 36 | "${VIDEO_CORE}/renderer_opengl/gl_arb_decompiler.h" | ||
| 37 | "${VIDEO_CORE}/renderer_opengl/gl_shader_cache.cpp" | ||
| 38 | "${VIDEO_CORE}/renderer_opengl/gl_shader_cache.h" | ||
| 39 | "${VIDEO_CORE}/renderer_opengl/gl_shader_decompiler.cpp" | ||
| 40 | "${VIDEO_CORE}/renderer_opengl/gl_shader_decompiler.h" | ||
| 41 | "${VIDEO_CORE}/renderer_opengl/gl_shader_disk_cache.cpp" | ||
| 42 | "${VIDEO_CORE}/renderer_opengl/gl_shader_disk_cache.h" | ||
| 43 | "${VIDEO_CORE}/shader/decode/arithmetic.cpp" | ||
| 44 | "${VIDEO_CORE}/shader/decode/arithmetic_half.cpp" | ||
| 45 | "${VIDEO_CORE}/shader/decode/arithmetic_half_immediate.cpp" | ||
| 46 | "${VIDEO_CORE}/shader/decode/arithmetic_immediate.cpp" | ||
| 47 | "${VIDEO_CORE}/shader/decode/arithmetic_integer.cpp" | ||
| 48 | "${VIDEO_CORE}/shader/decode/arithmetic_integer_immediate.cpp" | ||
| 49 | "${VIDEO_CORE}/shader/decode/bfe.cpp" | ||
| 50 | "${VIDEO_CORE}/shader/decode/bfi.cpp" | ||
| 51 | "${VIDEO_CORE}/shader/decode/conversion.cpp" | ||
| 52 | "${VIDEO_CORE}/shader/decode/ffma.cpp" | ||
| 53 | "${VIDEO_CORE}/shader/decode/float_set.cpp" | ||
| 54 | "${VIDEO_CORE}/shader/decode/float_set_predicate.cpp" | ||
| 55 | "${VIDEO_CORE}/shader/decode/half_set.cpp" | ||
| 56 | "${VIDEO_CORE}/shader/decode/half_set_predicate.cpp" | ||
| 57 | "${VIDEO_CORE}/shader/decode/hfma2.cpp" | ||
| 58 | "${VIDEO_CORE}/shader/decode/image.cpp" | ||
| 59 | "${VIDEO_CORE}/shader/decode/integer_set.cpp" | ||
| 60 | "${VIDEO_CORE}/shader/decode/integer_set_predicate.cpp" | ||
| 61 | "${VIDEO_CORE}/shader/decode/memory.cpp" | ||
| 62 | "${VIDEO_CORE}/shader/decode/texture.cpp" | ||
| 63 | "${VIDEO_CORE}/shader/decode/other.cpp" | ||
| 64 | "${VIDEO_CORE}/shader/decode/predicate_set_predicate.cpp" | ||
| 65 | "${VIDEO_CORE}/shader/decode/predicate_set_register.cpp" | ||
| 66 | "${VIDEO_CORE}/shader/decode/register_set_predicate.cpp" | ||
| 67 | "${VIDEO_CORE}/shader/decode/shift.cpp" | ||
| 68 | "${VIDEO_CORE}/shader/decode/video.cpp" | ||
| 69 | "${VIDEO_CORE}/shader/decode/warp.cpp" | ||
| 70 | "${VIDEO_CORE}/shader/decode/xmad.cpp" | ||
| 71 | "${VIDEO_CORE}/shader/ast.cpp" | ||
| 72 | "${VIDEO_CORE}/shader/ast.h" | ||
| 73 | "${VIDEO_CORE}/shader/compiler_settings.cpp" | ||
| 74 | "${VIDEO_CORE}/shader/compiler_settings.h" | ||
| 75 | "${VIDEO_CORE}/shader/control_flow.cpp" | ||
| 76 | "${VIDEO_CORE}/shader/control_flow.h" | ||
| 77 | "${VIDEO_CORE}/shader/decode.cpp" | ||
| 78 | "${VIDEO_CORE}/shader/expr.cpp" | ||
| 79 | "${VIDEO_CORE}/shader/expr.h" | ||
| 80 | "${VIDEO_CORE}/shader/node.h" | ||
| 81 | "${VIDEO_CORE}/shader/node_helper.cpp" | ||
| 82 | "${VIDEO_CORE}/shader/node_helper.h" | ||
| 83 | "${VIDEO_CORE}/shader/registry.cpp" | ||
| 84 | "${VIDEO_CORE}/shader/registry.h" | ||
| 85 | "${VIDEO_CORE}/shader/shader_ir.cpp" | ||
| 86 | "${VIDEO_CORE}/shader/shader_ir.h" | ||
| 87 | "${VIDEO_CORE}/shader/track.cpp" | ||
| 88 | "${VIDEO_CORE}/shader/transform_feedback.cpp" | ||
| 89 | "${VIDEO_CORE}/shader/transform_feedback.h" | ||
| 90 | # and also check that the scm_rev files haven't changed | ||
| 91 | "${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" | 29 | "${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" |
| 92 | "${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.h" | 30 | "${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.h" |
| 93 | # technically we should regenerate if the git version changed, but its not worth the effort imo | 31 | # technically we should regenerate if the git version changed, but its not worth the effort imo |