]>
Commit | Line | Data |
---|---|---|
b32b8144 FG |
1 | # Copyright 2017 Rene Rivera |
2 | # Distributed under the Boost Software License, Version 1.0. | |
1e59de90 TL |
3 | # (See accompanying file LICENSE.txt or copy at |
4 | # https://www.bfgroup.xyz/b2/LICENSE.txt) | |
b32b8144 | 5 | |
b32b8144 FG |
6 | import feature ; |
7 | ||
f67539c2 TL |
8 | #| tag::doc[] |
9 | ||
10 | [[bbv2.builtin.features.stdlib]]`stdlib`:: | |
11 | *Allowed values*: `native`, `gnu`, `gnu11`, `libc++`, `sun-stlport`, `apache`. | |
12 | + | |
13 | Specifies C++ standard library to link to and in some cases the library ABI to | |
14 | use: | |
15 | + | |
16 | `native`::: Use compiler's default. | |
17 | `gnu`::: Use GNU Standard Library (a.k.a. pass:[libstdc++]) with the old ABI. | |
18 | `gnu11`::: Use GNU Standard Library with the new ABI. | |
19 | `libc++`::: Use LLVM pass:[libc++]. | |
20 | `sun-stlport`::: Use the STLport implementation of the standard library | |
21 | provided with the Solaris Studio compiler. | |
22 | `apache`::: Use the Apache stdcxx version 4 C++ standard library provided with | |
23 | the Solaris Studio compiler. | |
24 | ||
25 | |# # end::doc[] | |
26 | ||
b32b8144 | 27 | feature.feature stdlib |
f67539c2 | 28 | : native gnu gnu11 libc++ sun-stlport apache |
b32b8144 | 29 | : propagated composite ; |