diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-16 17:43:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-16 17:43:52 +0200 |
commit | 2140a1c2817eacf013fe3ce559fb23cedb02febb (patch) | |
tree | 1399d1d0c9ce4d031c77aac96821d85524c81a29 /build2/cc/compile.hxx | |
parent | a818bc13a6a65916aeb68e4e3cdce290f8a3e2a4 (diff) |
Implement separate preprocess and compiler for GCC and Clang
Diffstat (limited to 'build2/cc/compile.hxx')
-rw-r--r-- | build2/cc/compile.hxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/build2/cc/compile.hxx b/build2/cc/compile.hxx index 27a5ce7..0f8843e 100644 --- a/build2/cc/compile.hxx +++ b/build2/cc/compile.hxx @@ -11,6 +11,7 @@ #include <build2/utility.hxx> #include <build2/rule.hxx> +#include <build2/filesystem.hxx> // auto_rmfile #include <build2/cc/types.hxx> #include <build2/cc/common.hxx> @@ -82,8 +83,14 @@ namespace build2 // Header dependency injection. Return true if any were updated. // - bool - inject (action, file&, lorder, const file&, depdb&) const; + void + inject (action, + file&, + lorder, + const file&, + depdb&, + auto_rmfile&, + bool&) const; private: const string rule_id; |