diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-08 18:51:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-08 18:51:45 +0200 |
commit | d52de69d635ce3fc840fc15b9db4f395d0763aed (patch) | |
tree | b8c445d6b0d06ae0422111ea45f930aab1ee8615 /build2/cc/utility.hxx | |
parent | 6d38ea067757974e0605b4cfb4c16731cdb2541e (diff) |
Implement rule chaining for modules
Diffstat (limited to 'build2/cc/utility.hxx')
-rw-r--r-- | build2/cc/utility.hxx | 15 |
1 files changed, 14 insertions, 1 deletions
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&); |