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.source]]`source`:: 11The `<source>X` property has the same effect on building a target as putting X 12in the list of sources. It is useful when you want to add the same source to 13all targets in the project (you can put `<source>` in requirements) or to 14conditionally include a source (using conditional requirements, see 15the section <<Conditions and alternatives>>. See also the 16<<bbv2.builtin.features.library,`<library>`>> feature. 17 18|# # end::doc[] 19 20feature.feature source 21 : 22 : free dependency incidental ; 23