mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[build] Use glslang with --depfile to rebuild on header changes
This commit is contained in:
parent
2653628041
commit
ae764333f4
1 changed files with 4 additions and 1 deletions
|
@ -137,11 +137,14 @@ glsl_args = [
|
||||||
'--quiet',
|
'--quiet',
|
||||||
'--target-env', 'vulkan1.2',
|
'--target-env', 'vulkan1.2',
|
||||||
'--vn', '@BASENAME@',
|
'--vn', '@BASENAME@',
|
||||||
|
'--depfile', '@DEPFILE@',
|
||||||
'@INPUT@',
|
'@INPUT@',
|
||||||
'-o', '@OUTPUT@',
|
'-o', '@OUTPUT@',
|
||||||
]
|
]
|
||||||
glsl_generator = generator(glsl_compiler,
|
glsl_generator = generator(
|
||||||
|
glsl_compiler,
|
||||||
output : [ '@BASENAME@.h' ],
|
output : [ '@BASENAME@.h' ],
|
||||||
|
depfile : '@BASENAME@.h.d',
|
||||||
arguments : glsl_args,
|
arguments : glsl_args,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue