diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-23 10:10:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-23 10:10:13 +0200 |
commit | ff8ed209cd80799199e0b2e3d37213d549bc342f (patch) | |
tree | bf81ea5b60a9cf2b2d0defb2a7e08c9d18da58b3 /build2/cxx/target.hxx | |
parent | 9a00b8ccfef1d13088be2d76fefcb320c269732a (diff) |
Don't treat mxx{} as cc-source
If we do it, then the link rule will refuse to match when modules are
disabled (in which case mxx{} should be treated as a header).
Diffstat (limited to 'build2/cxx/target.hxx')
-rw-r--r-- | build2/cxx/target.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cxx/target.hxx b/build2/cxx/target.hxx index f5591d1..ff1d077 100644 --- a/build2/cxx/target.hxx +++ b/build2/cxx/target.hxx @@ -61,12 +61,12 @@ namespace build2 // The module interface unit is both like a header (e.g., we need to // install it) and like a source (we need to compile it). Plus, to // support dual use (modules/headers) it could actually be #include'd - // (and in both cases). + // (and even in both cases). // - class mxx: public cc::cc + class mxx: public file { public: - using cc::cc; + using file::file; public: static const target_type static_type; |