]>
Commit | Line | Data |
---|---|---|
b32b8144 FG |
1 | # Copyright 2017 Rene Rivera |
2 | # Distributed under the Boost Software License, Version 1.0. | |
1e59de90 TL |
3 | # (See accompanying file LICENSE.txt or copy at |
4 | # https://www.bfgroup.xyz/b2/LICENSE.txt) | |
b32b8144 | 5 | |
b32b8144 FG |
6 | import feature ; |
7 | ||
f67539c2 TL |
8 | #| tag::doc[] |
9 | ||
10 | [[bbv2.builtin.features.source]]`source`:: | |
11 | The `<source>X` property has the same effect on building a target as putting X | |
12 | in the list of sources. It is useful when you want to add the same source to | |
13 | all targets in the project (you can put `<source>` in requirements) or to | |
14 | conditionally include a source (using conditional requirements, see | |
15 | the section <<Conditions and alternatives>>. See also the | |
16 | <<bbv2.builtin.features.library,`<library>`>> feature. | |
17 | ||
18 | |# # end::doc[] | |
19 | ||
b32b8144 FG |
20 | feature.feature source |
21 | : | |
22 | : free dependency incidental ; |