Home | History | Annotate | Download | only in xmlpool
      1 Import('*')
      2 
      3 from sys import executable as python_cmd
      4 
      5 LOCALEDIR = env.Dir('.').srcnode().abspath
      6 
      7 xmlpool_options, = env.CodeGenerate(
      8     target = 'options.h',
      9     script = 'gen_xmlpool.py',
     10     source = ['t_options.h'],
     11     command = python_cmd + ' $SCRIPT $SOURCE ' + LOCALEDIR + ' > $TARGET'
     12 )
     13 
     14 Export('xmlpool_options')
     15