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:
@@ -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)
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user