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

Improve debug output:

- handle T_FATE_NEEDTMP
- indicate which children has the maximum time.


[SVN r20251]
This commit is contained in:
Vladimir Prus
2003-10-03 09:29:04 +00:00
parent 4a3719bb59
commit 8047d68860

View File

@@ -664,6 +664,8 @@ dependGraphOutput( TARGET *t, int depth )
break;
case T_FATE_ISTMP:
printf( " %s : Up to date temp file\n", spaces(depth) );
case T_FATE_NEEDTMP:
printf( " %s : Temporary file, to be updated\n", spaces(depth) );
break;
case T_FATE_TOUCHED:
printf( " %s : Been touched, updating it\n", spaces(depth) );
@@ -699,8 +701,12 @@ dependGraphOutput( TARGET *t, int depth )
for( c = t->depends; c; c = c->next )
{
printf( " %s : Depends on %s (%s)\n", spaces(depth),
printf( " %s : Depends on %s (%s)", spaces(depth),
target_name(c->target), target_fate[ c->target->fate ] );
if (c->target->time == t->time)
printf( " (max time)");
printf("\n");
}