1# Copyright 2018 Andrey Semashev 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.local-visibility]]`local-visibility`:: 11*Allowed values:* `global`, `protected`, `hidden`. 12+ 13This feature has the same effect as the 14<<bbv2.builtin.features.visibility,`visibility`>> feature but is intended 15to be used by targets that require a particular symbol visibility. Unlike the 16`visibility` feature, `local-visibility` is not inherited by the target 17dependencies and only affects the target to which it is applied. 18+ 19The `local-visibility` feature supports the same values with the same meaning 20as the `visibility` feature. By default, if `local-visibility` is not specified 21for a target, the value of the `visibility` feature is used. 22 23|# # end::doc[] 24 25feature.feature local-visibility 26 : global protected hidden 27 : optional ; 28