|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-04-30 16:00:24
Author: jurko
Date: 2008-04-30 16:00:24 EDT (Wed, 30 Apr 2008)
New Revision: 44949
URL: http://svn.boost.org/trac/boost/changeset/44949
Log:
Removed trailing spaces from tools/build/v2/build/modifiers.jam.
Text files modified:
trunk/tools/build/v2/build/modifiers.jam | 44 ++++++++++++++++++++--------------------
1 files changed, 22 insertions(+), 22 deletions(-)
Modified: trunk/tools/build/v2/build/modifiers.jam
==============================================================================
--- trunk/tools/build/v2/build/modifiers.jam (original)
+++ trunk/tools/build/v2/build/modifiers.jam 2008-04-30 16:00:24 EDT (Wed, 30 Apr 2008)
@@ -30,7 +30,7 @@
id
composing ?
: source-types *
- : target-types-and-names +
+ : target-types-and-names +
: requirements *
)
{
@@ -38,10 +38,10 @@
: $(source-types)
: $(target-types-and-names)
: $(requirements) ;
-
+
self.targets-in-progress = ;
}
-
+
# Wraps the generation of the target to call before and after rules to
# affect the real target.
#
@@ -72,7 +72,7 @@
property-set = $(property-set_) ;
sources = $(sources_) ;
multiple = $(multiple_) ;
-
+
# Generate the real target...
local target-type-p =
[ property.select <main-target-type> : [ $(property-set).raw ] ] ;
@@ -83,7 +83,7 @@
: $(property-set)
: $(sources) ] ;
self.targets-in-progress = $(self.targets-in-progress[1--2]) ;
-
+
# After modifications...
result =
[ modify-target-after $(result)
@@ -94,37 +94,37 @@
}
return $(result) ;
}
-
+
rule modify-project-before ( project name ? : property-set : sources + : multiple ? )
{
return $(project) ;
}
-
+
rule modify-name-before ( project name ? : property-set : sources + : multiple ? )
{
return $(name) ;
}
-
+
rule modify-properties-before ( project name ? : property-set : sources + : multiple ? )
{
return $(property-set) ;
}
-
+
rule modify-sources-before ( project name ? : property-set : sources + : multiple ? )
{
return $(sources) ;
}
-
+
rule modify-multiple-before ( project name ? : property-set : sources + : multiple ? )
{
return $(multiple) ;
}
-
+
rule modify-target-after ( target : project name ? : property-set : sources + : multiple ? )
{
return $(target) ;
}
-
+
# Utility, clones a file-target with optional changes to the name, type and
# project of the target.
# NOTE: This functionality should be moved, and generalized, to
@@ -137,19 +137,19 @@
new-type ?= [ $(target).type ] ;
new-project ?= [ $(target).project ] ;
local result = [ new file-target $(new-name) : $(new-type) : $(new-project) ] ;
-
+
if [ $(target).dependencies ] { $(result).depends [ $(target).dependencies ] ; }
$(result).root [ $(target).root ] ;
$(result).set-usage-requirements [ $(target).usage-requirements ] ;
-
+
local action = [ $(target).action ] ;
local action-class = [ modules.peek $(action) : __class__ ] ;
-
+
local ps = [ $(action).properties ] ;
- local cloned-action = [ new $(action-class) $(result) :
+ local cloned-action = [ new $(action-class) $(result) :
[ $(action).sources ] : [ $(action).action-name ] : $(ps) ] ;
$(result).action $(cloned-action) ;
-
+
return $(result) ;
}
}
@@ -167,13 +167,13 @@
# Apply ourselves to EXE targets, for now.
modifier.__init__ name.modifier : : EXE LIB : <name-modify>yes ;
}
-
+
# Modifies the name, by cloning the target with the new name.
#
rule modify-target-after ( target : project name ? : property-set : sources + : multiple ? )
{
local result = $(target) ;
-
+
local name-mod-p = [ property.select <name-modifier> : [ $(property-set).raw ] ] ;
if $(name-mod-p)
{
@@ -190,10 +190,10 @@
: [ property-set.create [ $(property-set).raw ] <symlink-location>build-relative ] ] ;
}
}
-
+
return $(result) ;
}
-
+
# Do the transformation of the name.
#
rule modify-name ( name : modifier-spec + )
@@ -218,7 +218,7 @@
new-name-parts += $(name-parts) ;
return [ sequence.join $(new-name-parts) ] ;
}
-
+
rule optional-properties ( )
{
return <name-modify>yes ;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk