Boost logo

Boost-Build :

Subject: [Boost-build] Unused propagated features and build directories
From: áÌÅËÓÅÊ îÉËÉÔÉÎ (alleonik_at_[hidden])
Date: 2010-11-05 19:00:44


In next small example on build exe e1 and e2 library l1 build twice
(in path with and without "/f-on/") although it is not necessary.

feature.feature f : on : composite propagated optional ;
feature.compose <f>on : <define>F ;

lib l1 : l1.cpp ; # don`t use define F
lib l2 : l2.cpp l1 ; # use define F
exe e1 : e1.cpp l2 ;
exe e2 : e2.cpp l2 : <f>on ;

It is possible change example so that may to build l1 in own directory
(when build e1 and e2)?
In real project l1 is fairly big and that reduce building time and
used disk space.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at