bfgroup / b2

B2 makes it easy to build C++ projects, everywhere.
https://www.bfgroup.xyz/b2/
Boost Software License 1.0
75 stars 228 forks source link

make repeated 'using X ;' a no-op #374

Closed grisumbras closed 4 months ago

grisumbras commented 4 months ago

This change allows putting using X ; into build scripts (as opposed to user configs) without creating a conflicting or wrong setup for module X. This is so that build scripts could rely on toolset modules having been configured (at least with default values).

The commit only updates toolset modules which allow using without arguments in the first place. It also does not change toolset modules for C++ compilers, as nobody does e.g. using gcc ; in their build scripts anyway.

Types of changes