aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/drivers/dri/common/xmlpool/SConscript
blob: fa42554d3a5a7582473cc6376e6ea28fbadcefb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 $SOURCE ' + LOCALEDIR + ' > $TARGET'
)

Export('xmlpool_options')