]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/src/tools/features/debug-feature.jam
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / build / src / tools / features / debug-feature.jam
1 # Copyright 2017 Rene Rivera
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at
4 # http://www.boost.org/LICENSE_1_0.txt)
5
6 import feature ;
7
8 #| tag::doc[]
9
10 [[bbv2.builtin.features.debug-symbols]]`debug-symbols`::
11 *Allowed values:* `on`, `off`.
12 +
13 Specifies if produced object files, executables, and libraries should include
14 debug information. Typically, the value of this feature is implicitly set by
15 the `variant` feature, but it can be explicitly specified by the user. The most
16 common usage is to build release variant with debugging information.
17
18 |# # end::doc[]
19
20 feature.feature debug-symbols
21 : on off
22 : propagated ;
23
24 #| tag::prof-doc[]
25
26 [[bbv2.builtin.features.profiling]]`profiling`::
27 *Allowed values:* `off`, `on`.
28 +
29 Enables generation of extra code to write profile information.
30 |# # end::prof-doc[]
31
32 feature.feature profiling
33 : off on
34 : propagated ;