Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55859 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2009-08-29 07:15:47


Author: vladimir_prus
Date: 2009-08-29 07:15:46 EDT (Sat, 29 Aug 2009)
New Revision: 55859
URL: http://svn.boost.org/trac/boost/changeset/55859

Log:
Add virtual-target.always.

Text files modified:
   trunk/tools/build/v2/build/virtual-target.jam | 14 ++++++++++++--
   1 files changed, 12 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/build/virtual-target.jam
==============================================================================
--- trunk/tools/build/v2/build/virtual-target.jam (original)
+++ trunk/tools/build/v2/build/virtual-target.jam 2009-08-29 07:15:46 EDT (Sat, 29 Aug 2009)
@@ -113,7 +113,12 @@
     {
         return $(self.dependencies) ;
     }
-
+
+ rule always ( )
+ {
+ .always = 1 ;
+ }
+
     # Generates all the actual targets and sets up build actions for this
     # target.
     #
@@ -128,7 +133,12 @@
     rule actualize ( scanner ? )
     {
         local actual-name = [ actualize-no-scanner ] ;
-
+
+ if $(.always)
+ {
+ ALWAYS $(actual-name) ;
+ }
+
         if ! $(scanner)
         {
             return $(actual-name) ;


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