Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78247 - trunk/tools/build/v2/engine
From: steven_at_[hidden]
Date: 2012-04-28 15:23:48


Author: steven_watanabe
Date: 2012-04-28 15:23:47 EDT (Sat, 28 Apr 2012)
New Revision: 78247
URL: http://svn.boost.org/trac/boost/changeset/78247

Log:
Use a regular dependency instead of an include dependency for generated headers to allow correct rescanning of generated headers.
Text files modified:
   trunk/tools/build/v2/engine/make.c | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/engine/make.c
==============================================================================
--- trunk/tools/build/v2/engine/make.c (original)
+++ trunk/tools/build/v2/engine/make.c 2012-04-28 15:23:47 EDT (Sat, 28 Apr 2012)
@@ -298,11 +298,11 @@
         t->boundname = search( t->name, &t->time, &another_target,
                                t->flags & T_FLAG_ISFILE );
         /* If it was detected that this target refers to an already existing and
- * bound one, we add an include dependency, so that every target
+ * bound one, we add a dependency, so that every target
          * depending on us will depend on that other target as well.
          */
         if ( another_target )
- target_include( t, bindtarget( another_target ) );
+ t->depends = targetentry( t->depends, bindtarget( another_target ) );
 
         t->binding = t->time ? T_BIND_EXISTS : T_BIND_MISSING;
     }


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