diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-04 07:30:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-04 07:30:23 +0200 |
commit | ee0456ed4a5f3f6686fbb0a433161d1f9d8535fe (patch) | |
tree | 697834b68df162a004a6e13113260a11e0236af6 /build2/cc/types.hxx | |
parent | f52b47eea4c5de553d202669f91e6f4f14668592 (diff) |
Remove libu{} target group
The semantics provided by libu{} is rarely required and as result was not
yet documented. However, if you are using it, the new way to achieve the
same result is to use both libue{} and libul{} explicitly, for example:
exe{foo}: libue{foo}
lib{foo}: libul{foo}
{libue libul}{foo}: cxx{*}
Diffstat (limited to 'build2/cc/types.hxx')
-rw-r--r-- | build2/cc/types.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build2/cc/types.hxx b/build2/cc/types.hxx index 481c3c6..c297b19 100644 --- a/build2/cc/types.hxx +++ b/build2/cc/types.hxx @@ -81,6 +81,7 @@ namespace build2 bool library () const {return type != otype::e || utility;} bool static_library () const {return type == otype::a || utility;} bool shared_library () const {return type == otype::s && !utility;} + bool member_library () const {return type != otype::e;} }; // Compile target types. |