2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Boost Build cleanup - build-system.jam module's should-clean-project() rule result caching updated to correctly cache both true and false values. This got 'pessimized' a bit when we started using values directly convertable to false (i.e. undefined value or empty string) as return values for the result false instead of the string "false".

[SVN r79969]
This commit is contained in:
Jurko Gospodnetić
2012-08-11 14:49:52 +00:00
parent 7baf43ded5
commit bfecc4e1dd

View File

@@ -504,9 +504,9 @@ local rule process-explicit-toolset-requests
#
local rule should-clean-project ( project )
{
if ! $(.should-clean-project.$(project))
if ! $(.should-clean-project.$(project))-is-defined
{
local r ;
local r = "" ;
if ! [ project.is-jamroot-module $(project) ]
{
local parent = [ project.attribute $(project) parent-module ] ;