mesa/src/util/xmlpool/SConscript

15 lines
351 B
Text
Raw Normal View History

Import('*')
from sys import executable as python_cmd
LOCALEDIR = env.Dir('.').srcnode().abspath
xmlpool_options, = env.CodeGenerate(
target = 'options.h',
script = 'gen_xmlpool.py',
source = ['t_options.h'],
command = python_cmd + ' $SCRIPT --template $SOURCE --output $TARGET --localedir ' + LOCALEDIR
)
Export('xmlpool_options')