X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fauxiliary%2FSConscript;h=bdd9a1beaa105e008159c3a7ad8d849f0f57ea45;hb=9382a3c11d58aa7bb47cfd61ace585b67fa95314;hp=0acd3c7d2851fd3ff88355ebcedfcd03c6dec74d;hpb=86a51eb86177971d9a0c0f0028cc143b13486a07;p=mesa.git diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript index 0acd3c7d285..bdd9a1beaa1 100644 --- a/src/gallium/auxiliary/SConscript +++ b/src/gallium/auxiliary/SConscript @@ -8,16 +8,20 @@ env.Append(CPPPATH = [ 'util', ]) +env = env.Clone() + +env.MSVC2013Compat() + env.CodeGenerate( - target = 'indices/u_indices_gen.c', - script = 'indices/u_indices_gen.py', + target = 'indices/u_indices_gen.c', + script = 'indices/u_indices_gen.py', source = [], command = python_cmd + ' $SCRIPT > $TARGET' ) env.CodeGenerate( - target = 'indices/u_unfilled_gen.c', - script = 'indices/u_unfilled_gen.py', + target = 'indices/u_unfilled_gen.c', + script = 'indices/u_unfilled_gen.py', source = [], command = python_cmd + ' $SCRIPT > $TARGET' ) @@ -31,12 +35,12 @@ env.CodeGenerate( env.Depends('util/u_format_table.c', [ '#src/gallium/auxiliary/util/u_format_parse.py', - 'util/u_format_pack.py', + 'util/u_format_pack.py', ]) source = env.ParseSourceList('Makefile.sources', [ 'C_SOURCES', - 'VL_SOURCES', + 'VL_STUB_SOURCES', 'GENERATED_SOURCES' ])