summaryrefslogtreecommitdiffstats
path: root/src/util/xmlpool/SConscript
blob: 0a00cefa655619c89b6ac657f1d2e85dc8ff8fd5 (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 --template $SOURCE --output $TARGET --localedir ' + LOCALEDIR
)

Export('xmlpool_options')