2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

More header dependencies fixes

[SVN r64408]
This commit is contained in:
Vladimir Prus
2010-07-28 12:39:39 +00:00
parent 6a297c3832
commit fff46f1dc3
2 changed files with 4 additions and 3 deletions

View File

@@ -21,6 +21,6 @@ def prepare_foo(targets, sources, properties):
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)

View File

@@ -380,7 +380,7 @@ class CScanner (scanner.Scanner):
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 @@ class CScanner (scanner.Scanner):
scanner.register (CScanner, 'include')
type.set_scanner ('CPP', CScanner)
type.set_scanner ('C', CScanner)
# Ported to trunk@47077
class LibGenerator (generators.Generator):