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.library]]`library`:: 11This feature is almost equivalent to the 12<<bbv2.builtin.features.library,`<source>`>> feature, except that it takes 13effect only for linking. When you want to link all targets in a Jamfile to 14certain library, the `<library>` feature is preferred over `<source>X` -- the 15latter will add the library to all targets, even those that have nothing to do 16with libraries. 17 18|# # end::doc[] 19 20feature.feature library 21 : 22 : free dependency incidental ; 23