/usr/share/boost-build/src/tools/features
NameSizeModeActions
address-model-feature.jam6950644editdlrm
allow-feature.jam5120644editdlrm
architecture-feature.jam12220644editdlrm
archiveflags-feature.jam4470644editdlrm
asmflags-feature.jam4000644editdlrm
build-feature.jam6260644editdlrm
cflags-feature.jam6910644editdlrm
conditional-feature.jam7280644editdlrm
coverage-feature.jam6090644editdlrm
cxx-template-depth-feature.jam14270644editdlrm
cxxabi-feature.jam4070644editdlrm
cxxflags-feature.jam3740644editdlrm
cxxstd-feature.jam16670644editdlrm
debug-feature.jam9360644editdlrm
define-feature.jam7080644editdlrm
dependency-feature.jam20350644editdlrm
dll-feature.jam22180644editdlrm
exception-feature.jam10090644editdlrm
fflags-feature.jam4200644editdlrm
file-feature.jam4820644editdlrm
find-lib-feature.jam10730644editdlrm
flags-feature.jam4920644editdlrm
force-include-feature.jam5720644editdlrm
include-feature.jam4340644editdlrm
instruction-set-feature.jam24940644editdlrm
internal-feature.jam4400644editdlrm
library-feature.jam7080644editdlrm
link-feature.jam4060644editdlrm
linkflags-feature.jam3770644editdlrm
local-visibility-feature.jam9840644editdlrm
location-feature.jam4530644editdlrm
location-prefix-feature.jam5050644editdlrm
lto-feature.jam13090644editdlrm
name-feature.jam6320644editdlrm
objcflags-feature.jam6570644editdlrm
optimization-feature.jam9390644editdlrm
os-feature.jam36870644editdlrm
relevant-feature.jam19920644editdlrm
rtti-feature.jam3950644editdlrm
runtime-feature.jam12900644editdlrm
sanitizers-feature.jam17160644editdlrm
search-feature.jam5160644editdlrm
source-feature.jam7530644editdlrm
stdlib-feature.jam9760644editdlrm
strip-feature.jam6160644editdlrm
tag-feature.jam11740644editdlrm
threadapi-feature.jam11620644editdlrm
threading-feature.jam7750644editdlrm
toolset-feature.jam5280644editdlrm
translate-path-feature.jam9440644editdlrm
user-interface-feature.jam9520644editdlrm
variant-feature.jam33000644editdlrm
version-feature.jam4800644editdlrm
visibility-feature.jam19870644editdlrm
warnings-feature.jam10340644editdlrm
__init_features__.jam7430644editdlrm
Edit: /usr/share/boost-build/src/tools/features/relevant-feature.jam (1992B)
# Copyright 2017 Steven Watanabe # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) import feature ; #| tag::doc[] [[bbv2.builtin.features.relevant]]`relevant`:: *Allowed values:* the name of any feature. + Indicates which other features are relevant for a given target. It is usually not necessary to manage it explicitly, as B2 can deduce it in most cases. Features which are not relevant will not affect target paths, and will not cause conflicts. + * A feature will be considered relevant if any of the following are true + ** It is referenced by `toolset.flags` or `toolset.uses-features` ** It is used by the requirements of a generator ** It is a sub-feature of a relevant feature ** It has a sub-feature which is relevant ** It is a composite feature, and any composed feature is relevant ** It affects target alternative selection for a main target ** It is a propagated feature and is relevant for any dependency ** It is relevant for any dependency created by the same main target ** It is used in the condition of a conditional property and the corresponding value is relevant ** It is explicitly named as relevant + * Relevant features cannot be automatically deduced in the following cases: + ** Indirect conditionals. Solution: return properties of the form `result-feature:condition-feature` + NOTE: This isn't really a conditional, although for most purposes it functions like one. In particular, it does not support multiple comma-separated elements in the condition, and it does work correctly even in contexts where conditional properties are not allowed ** Action rules that read properties. Solution: add toolset.uses-features to tell B2 that the feature is actually used. ** Generators and targets that manipulate property-sets directly. Solution: set manually. |# # end::doc[] feature.feature relevant : : incidental free ;