|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80182 - in trunk/tools/build/v2: build engine tools/types
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-24 21:52:42
Author: jurko
Date: 2012-08-24 21:52:41 EDT (Fri, 24 Aug 2012)
New Revision: 80182
URL: http://svn.boost.org/trac/boost/changeset/80182
Log:
Boost Jam cleanup - minor stylistic changes.
Text files modified:
trunk/tools/build/v2/build/scanner.jam | 7 ++-----
trunk/tools/build/v2/engine/build.jam | 18 +++++++++---------
trunk/tools/build/v2/tools/types/cpp.jam | 11 ++++++-----
3 files changed, 17 insertions(+), 19 deletions(-)
Modified: trunk/tools/build/v2/build/scanner.jam
==============================================================================
--- trunk/tools/build/v2/build/scanner.jam (original)
+++ trunk/tools/build/v2/build/scanner.jam 2012-08-24 21:52:41 EDT (Fri, 24 Aug 2012)
@@ -1,7 +1,8 @@
# Copyright 2003 Dave Abrahams
# Copyright 2002, 2003, 2004, 2005 Vladimir Prus
# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
# Implements scanners: objects computing implicit dependencies for files, such
# as includes in C++.
@@ -160,7 +161,3 @@
# scanning.
#
IMPORT scanner : hdrrule : : scanner.hdrrule ;
-
-
-
-
Modified: trunk/tools/build/v2/engine/build.jam
==============================================================================
--- trunk/tools/build/v2/engine/build.jam (original)
+++ trunk/tools/build/v2/engine/build.jam 2012-08-24 21:52:41 EDT (Fri, 24 Aug 2012)
@@ -6,15 +6,15 @@
# Clean env vars of any "extra" empty values.
for local v in ARGV CC CFLAGS LIBS
{
- local values ;
- for local x in $($(v))
- {
- if $(x) != ""
- {
- values += $(x) ;
- }
- }
- $(v) = $(values) ;
+ local values ;
+ for local x in $($(v))
+ {
+ if $(x) != ""
+ {
+ values += $(x) ;
+ }
+ }
+ $(v) = $(values) ;
}
# Platform related specifics.
Modified: trunk/tools/build/v2/tools/types/cpp.jam
==============================================================================
--- trunk/tools/build/v2/tools/types/cpp.jam (original)
+++ trunk/tools/build/v2/tools/types/cpp.jam 2012-08-24 21:52:41 EDT (Fri, 24 Aug 2012)
@@ -1,8 +1,9 @@
-# Copyright David Abrahams 2004.
+# Copyright 2004 David Abrahams
# Copyright 2002, 2003, 2004, 2005, 2006 Vladimir Prus
# Copyright 2010 Rene Rivera
# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
import scanner ;
import type ;
@@ -22,8 +23,8 @@
for local i in $(includes)
{
- self.includes += [ sequence.transform path.native
- : [ regex.split $(i:G=) "&&" ] ] ;
+ self.includes += [ sequence.transform path.native : [ regex.split
+ $(i:G=) "&&" ] ] ;
}
}
@@ -34,7 +35,7 @@
rule process ( target : matches * : binding )
{
- local angle = [ regex.transform $(matches) : "<(.*)>" ] ;
+ local angle = [ regex.transform $(matches) : "<(.*)>" ] ;
angle = [ sequence.transform path.native : $(angle) ] ;
local quoted = [ regex.transform $(matches) : "\"(.*)\"" ] ;
quoted = [ sequence.transform path.native : $(quoted) ] ;
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