More updates to wscripts v8 building.
authorRyan Dahl <ry@tinyclouds.org>
Fri, 9 Oct 2009 10:49:48 +0000 (12:49 +0200)
committerRyan Dahl <ry@tinyclouds.org>
Fri, 9 Oct 2009 10:59:42 +0000 (12:59 +0200)
This allows me to hack on V8 without recompiling the whole thing.

wscript

diff --git a/wscript b/wscript
index 707871f..38b3821 100644 (file)
--- a/wscript
+++ b/wscript
@@ -226,6 +226,9 @@ def v8_cmd(bld, variant):
 
 def build_v8(bld):
   v8 = bld.new_task_gen(
+    source        = 'deps/v8/SConstruct ' 
+                  + bld.path.ant_glob('v8/include/*') 
+                  + bld.path.ant_glob('v8/src/*'),
     target        = bld.env["staticlib_PATTERN"] % "v8",
     rule          = v8_cmd(bld, "default"),
     before        = "cxx",