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

Optimization: don't use "path" module when not needed.

[SVN r19193]
This commit is contained in:
Vladimir Prus
2003-07-18 12:57:38 +00:00
parent e269bff967
commit c1a2aaf020
2 changed files with 8 additions and 4 deletions

View File

@@ -336,8 +336,10 @@ rule c-scanner ( includes * )
# CONSIDER: the new scoping rule seem to defeat "on target" variables.
local g = [ on $(target) return $(HDRGRIST) ] ;
local b = [ path.native [ path.parent [ path.make
[ virtual-target.binding $(target) ] ] ] ] ;
local b = [ virtual-target.binding $(target) ] ;
# Note that we don't need path.parent here, since the
# result will be directly handle to bjam build engine.
b = $(b:D) ;
# Attach binding of including file to included targets.
# When target is directly created from virtual target

View File

@@ -336,8 +336,10 @@ rule c-scanner ( includes * )
# CONSIDER: the new scoping rule seem to defeat "on target" variables.
local g = [ on $(target) return $(HDRGRIST) ] ;
local b = [ path.native [ path.parent [ path.make
[ virtual-target.binding $(target) ] ] ] ] ;
local b = [ virtual-target.binding $(target) ] ;
# Note that we don't need path.parent here, since the
# result will be directly handle to bjam build engine.
b = $(b:D) ;
# Attach binding of including file to included targets.
# When target is directly created from virtual target