601093f95d
v2: attempt to fix Android build (Emil) v3: add missing include path Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
15 lines
326 B
Python
15 lines
326 B
Python
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')
|