Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Lehmann <dadschoorse@gmail.com>2022-10-21 14:47:36 +0300
committerPhilip Rebohle <25567304+doitsujin@users.noreply.github.com>2022-10-21 18:04:47 +0300
commitae764333f486ec40dd70079bdb05dd43fd4d03c8 (patch)
tree995fa2f35acd50cd91434ec6ca2e7b94716448a4 /meson.build
parent26536280417bac217d696c03b94ebdc516b1e110 (diff)
[build] Use glslang with --depfile to rebuild on header changes
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 322fe19e..4c4a3221 100644
--- a/meson.build
+++ b/meson.build
@@ -137,11 +137,14 @@ glsl_args = [
'--quiet',
'--target-env', 'vulkan1.2',
'--vn', '@BASENAME@',
+ '--depfile', '@DEPFILE@',
'@INPUT@',
'-o', '@OUTPUT@',
]
-glsl_generator = generator(glsl_compiler,
+glsl_generator = generator(
+ glsl_compiler,
output : [ '@BASENAME@.h' ],
+ depfile : '@BASENAME@.h.d',
arguments : glsl_args,
)