From d52de69d635ce3fc840fc15b9db4f395d0763aed Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 8 Jun 2017 18:51:45 +0200 Subject: Implement rule chaining for modules --- build2/cc/utility.hxx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'build2/cc/utility.hxx') diff --git a/build2/cc/utility.hxx b/build2/cc/utility.hxx index 11abf90..62104d9 100644 --- a/build2/cc/utility.hxx +++ b/build2/cc/utility.hxx @@ -19,11 +19,24 @@ namespace build2 namespace cc { - // Compile/link output type. + // Compile output type. // otype compile_type (const target&, bool module); + // Compile target types. + // + struct compile_target_types + { + const target_type& obj; + const target_type& bmi; + }; + + compile_target_types + compile_types (otype); + + // Link output type. + // otype link_type (const target&); -- cgit v1.1