mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[build] conditionally enable --quiet for glslang
This commit is contained in:
parent
6339c8ec17
commit
730f5cc418
@ -107,9 +107,13 @@ endif
|
|||||||
def_spec_ext = '.def'
|
def_spec_ext = '.def'
|
||||||
|
|
||||||
glsl_compiler = find_program('glslangValidator')
|
glsl_compiler = find_program('glslangValidator')
|
||||||
|
glsl_args = [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ]
|
||||||
|
if run_command(glsl_compiler, [ '--quiet', '--version' ]).returncode() == 0
|
||||||
|
glsl_args += [ '--quiet' ]
|
||||||
|
endif
|
||||||
glsl_generator = generator(glsl_compiler,
|
glsl_generator = generator(glsl_compiler,
|
||||||
output : [ '@BASENAME@.h' ],
|
output : [ '@BASENAME@.h' ],
|
||||||
arguments : [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ])
|
arguments : glsl_args)
|
||||||
|
|
||||||
if dxvk_is_msvc
|
if dxvk_is_msvc
|
||||||
wrc_generator = generator(wrc,
|
wrc_generator = generator(wrc,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user