# Handle the --reconfigure option
rule maybe-force-rebuild ( targets * )
-{
+{
if $(.reconfigure)
{
local all-targets ;
local cache-name = $(what) [ $(ps).raw ] ;
cache-name = $(cache-name:J=-) ;
local value = [ config-cache.get $(cache-name) ] ;
-
+
local result ;
local jam-targets ;
{
jam-targets += [ $(t).actualize ] ;
}
-
+
if $(value)
{
- local x = [ PAD " - $(what)" : $(.width) ] ;
+ local x = [ PAD " - $(what)" : $(.width) ] ;
if $(value) = true
{
.$(what)-supported.$(ps) = yes ;
{
log-check-result "$(x) : no (cached)" ;
}
- }
+ }
else if ! UPDATE_NOW in [ RULENAMES ]
{
# Cannot determine. Assume existence.
{
config-cache.set $(cache-name) : false ;
}
- }
+ }
return $(result) ;
}
local cache-name = $(what) $($(args)[1]) [ $(ps).raw ] ;
cache-name = $(cache-name:J=-) ;
local value = [ config-cache.get $(cache-name) ] ;
-
+
local result ;
local jam-targets ;
{
.$(what)-tested.$(ps) = true ;
- local targets = [ targets.generate-from-reference
+ local targets = [ targets.generate-from-reference
$(metatarget-reference) : $(project) : $(ps) ] ;
result = [ try-build $(targets[2-]) : $(ps) : $(what) : $(retry) ] ;
}
-# Called by Boost.Build startup code to specify the file to receive the
+# Called by B2 startup code to specify the file to receive the
# configuration check results. Should never be called by user code.
#
rule set-log-file ( log-file )