mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[build] Use glslang with --depfile to rebuild on header changes
This commit is contained in:
parent
2653628041
commit
ae764333f4
@ -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,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user