Skip to content

Commit

Permalink
[build] Use glslang with --depfile to rebuild on header changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DadSchoorse authored and doitsujin committed Oct 21, 2022
1 parent 2653628 commit ae76433
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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 : [ '@[email protected]' ],
depfile : '@[email protected]',
arguments : glsl_args,
)

Expand Down

0 comments on commit ae76433

Please sign in to comment.