aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/rule
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-12-11 07:35:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-12-11 07:35:54 +0200
commitf4ed3e569cb5ebae855ea5309bfc17aa6b35874a (patch)
tree58481ae13a9c5d1c4f6853b59bd66a059592074c /build/cxx/rule
parent5e9eb843f6ccadfb47fa603260783425da9e7805 (diff)
Initial implementation of dependency injection (g++ -M output)
Diffstat (limited to 'build/cxx/rule')
-rw-r--r--build/cxx/rule7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/cxx/rule b/build/cxx/rule
index d4412e4..85352b7 100644
--- a/build/cxx/rule
+++ b/build/cxx/rule
@@ -6,6 +6,9 @@
#define BUILD_CXX_RULE
#include <build/rule>
+#include <build/native>
+
+#include <build/cxx/target>
namespace build
{
@@ -23,6 +26,10 @@ namespace build
static target_state
update (target&);
+
+ private:
+ bool
+ inject_prerequisites (obj&, const cxx&) const;
};
class link: public rule