Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64408 - in trunk/tools/build/v2: test/dependency-test tools
From: ghost_at_[hidden]
Date: 2010-07-28 08:39:39


Author: vladimir_prus
Date: 2010-07-28 08:39:39 EDT (Wed, 28 Jul 2010)
New Revision: 64408
URL: http://svn.boost.org/trac/boost/changeset/64408

Log:
More header dependencies fixes
Text files modified:
   trunk/tools/build/v2/test/dependency-test/foo.py | 4 ++--
   trunk/tools/build/v2/tools/builtin.py | 3 ++-
   2 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/test/dependency-test/foo.py
==============================================================================
--- trunk/tools/build/v2/test/dependency-test/foo.py (original)
+++ trunk/tools/build/v2/test/dependency-test/foo.py 2010-07-28 08:39:39 EDT (Wed, 28 Jul 2010)
@@ -21,6 +21,6 @@
     pass
 
 get_manager().engine().register_action("foo.foo",\
-"""echo $(DECL:E="//")\n > $(<[1])
-echo "#include <z.h>"\n > $(<[2])
+"""echo -e $(DECL:E="//")\\n > $(<[1])
+echo -e "#include <z.h>\\n" > $(<[2])
 """, function=prepare_foo)

Modified: trunk/tools/build/v2/tools/builtin.py
==============================================================================
--- trunk/tools/build/v2/tools/builtin.py (original)
+++ trunk/tools/build/v2/tools/builtin.py 2010-07-28 08:39:39 EDT (Wed, 28 Jul 2010)
@@ -380,7 +380,7 @@
 
         engine = get_manager().engine()
         engine.set_target_variable(angle, "SEARCH", get_value(self.includes_))
- engine.set_target_variable(quoted, "SEARCH", get_value(self.includes_))
+ engine.set_target_variable(quoted, "SEARCH", [b] + get_value(self.includes_))
         
         # Just propagate current scanner to includes, in a hope
         # that includes do not change scanners.
@@ -388,6 +388,7 @@
         
 scanner.register (CScanner, 'include')
 type.set_scanner ('CPP', CScanner)
+type.set_scanner ('C', CScanner)
 
 # Ported to trunk_at_47077
 class LibGenerator (generators.Generator):


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk