mirror of
https://github.com/boostorg/boost.git
synced 2025-04-06 22:14:59 +00:00
Make use of inspect and wave tools conditional.
When using bcp, the inspect tool is normally not copied, and wave tool is not copied unless wave library is requested. However, Jamroot unconditionally refers to those projects via use-project. It's not entirely clear why it does so, and the commits that add reference have no rationale. This commit takes the safe route of guarding use of these projects with the check for their presence.
This commit is contained in:
parent
6a39487396
commit
a7d89154ad
1 changed files with 9 additions and 2 deletions
11
Jamroot
11
Jamroot
|
@ -235,8 +235,15 @@ for local l in $(all-libraries)
|
|||
use-project /boost/$(l) : libs/$(l)/build ;
|
||||
}
|
||||
|
||||
use-project /boost/tools/inspect : tools/inspect/build ;
|
||||
use-project /boost/libs/wave/tool : libs/wave/tool/build ;
|
||||
if [ path.exists tools/inspect ]
|
||||
{
|
||||
use-project /boost/tools/inspect : tools/inspect/build ;
|
||||
}
|
||||
|
||||
if [ path.exists libs/wave/tool ]
|
||||
{
|
||||
use-project /boost/libs/wave/tool : libs/wave/tool/build ;
|
||||
}
|
||||
|
||||
# This rule should be called from libraries' Jamfiles and will create two
|
||||
# targets, "install" and "stage", that will install or stage that library. The
|
||||
|
|
Loading…
Add table
Reference in a new issue