• 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.runtime-debugging]]`runtime-debugging`::
11*Allowed values:* `on`, `off`.
12+
13Specifies whether produced object files, executables, and libraries should
14include behavior useful only for debugging, such as asserts. Typically, the
15value of this feature is implicitly set by the `variant` feature, but it can be
16explicitly specified by the user. The most common usage is to build release
17variant with debugging output.
18
19|# # end::doc[]
20
21feature.feature runtime-debugging
22    : on off
23    : propagated ;
24
25#| tag::doc[]
26
27[[bbv2.builtin.features.runtime-link]]`runtime-link`::
28*Allowed values:* `shared`, `static`
29+
30Controls if a static or shared C/{CPP} runtime should be used. There are some
31restrictions how this feature can be used, for example on some compilers an
32application using static runtime should not use shared libraries at all, and on
33some compilers, mixing static and shared runtime requires extreme care. Check
34your compiler documentation for more details.
35
36|# # end::doc[]
37
38feature.feature runtime-link
39    : shared static
40    : propagated ;
41