• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6import feature ;
7
8#| tag::doc[]
9
10[[bbv2.builtin.features.debug-symbols]]`debug-symbols`::
11*Allowed values:* `on`, `off`.
12+
13Specifies if produced object files, executables, and libraries should include
14debug information. Typically, the value of this feature is implicitly set by
15the `variant` feature, but it can be explicitly specified by the user. The most
16common usage is to build release variant with debugging information.
17
18|# # end::doc[]
19
20feature.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+
29Enables generation of extra code to write profile information.
30|# # end::prof-doc[]
31
32feature.feature profiling
33    : off on
34    : propagated ;
35