diff options
author | José Fonseca <[email protected]> | 2008-07-03 12:42:23 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-07-03 15:06:24 +0900 |
commit | 27d8d6f44faa61a61c330d032111eee64dd8b8c7 (patch) | |
tree | daa0db92b6ce952196acfc84a7a4e78277a33d65 /src/egl/drivers/demo | |
parent | 1ca23061478868d61b9b2e6a30367e8e1de4a456 (diff) |
scons: Add a env.CodeGenerate method to simplify code generation via python scripts.
env.CodeGenerate(
target = 'my_source.c',
script = 'my_generator.py',
source = ['input.txt', 'another.txt'],
command = 'python $SCRIPT $SOURCE > $TARGET'
)
It will take care generating all appropriate dependencies, including any
module imported by the generator script, and the respective .pyc file
side effects.
Diffstat (limited to 'src/egl/drivers/demo')
0 files changed, 0 insertions, 0 deletions