Add dependency annotations for the task that generates Python bindings
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed, 14 Jan 2009 11:17:41 +0000
changeset 4088 e52c06d86145
parent 4087 1c88eb82a9b0
child 4089 55cab933bb57
Add dependency annotations for the task that generates Python bindings
bindings/python/wscript
--- a/bindings/python/wscript	Tue Jan 13 19:29:59 2009 +0000
+++ b/bindings/python/wscript	Wed Jan 14 11:17:41 2009 +0000
@@ -484,7 +484,8 @@
 
         bindgen = bld.new_task_gen('command', source=source, target=target,
                                    command=argv, variables=dict(FEATURES=(','.join(features))))
-
+        bindgen.before = 'cxx'
+        bindgen.after = 'gen_everything_h_task'
 
     ## we build python bindings if either we have the tools to
     ## generate them or if the pregenerated source file is already