mesa/src/gallium/auxiliary/indices/SConscript
José Fonseca ec30d1b2e5 mesa: Use the python executable from sys.executable.
From Ramesh Dharan <rrdharan@vmware.com>
2009-03-27 19:13:21 +00:00

28 lines
582 B
Python

Import('*')
from sys import executable as python_cmd
env.CodeGenerate(
target = 'u_indices_gen.c',
script = 'u_indices_gen.py',
source = [],
command = python_cmd + ' $SCRIPT > $TARGET'
)
env.CodeGenerate(
target = 'u_unfilled_gen.c',
script = 'u_unfilled_gen.py',
source = [],
command = python_cmd + ' $SCRIPT > $TARGET'
)
indices = env.ConvenienceLibrary(
target = 'indices',
source = [
# 'u_indices.c',
# 'u_unfilled_indices.c',
'u_indices_gen.c',
'u_unfilled_gen.c',
])
auxiliaries.insert(0, indices)