mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
c07100423ea07b25f209414052bc2edfafa58a81
In Jam, the language itself would raise an error when the sources list was empty. In the Python port, it was assumed that sources was never empty and would run into an IndexError when the empty sources list tried to access the first element. This change checks sources first and provides an error message in the event that sources is empty. An empty source list can be passed in when the best alternative evalutates to an empty list of sources. This target is then added to a typed target, e.g. lib, which requires sources.
Boost.Build =========== See the Boost.Build website at https://boost.org/build. See the `guidelines for contributing <./CONTRIBUTING.rst>`__.
Description
Languages
C++
73.8%
Python
22.6%
C
1.6%
Batchfile
0.7%
Shell
0.6%
Other
0.6%