MCPcopy Create free account
hub / github.com/boostorg/build / dependGraphOutput

Function dependGraphOutput

src/engine/make.c:780–869  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778 */
779
780static void dependGraphOutput( TARGET * t, int depth )
781{
782 TARGETS * c;
783
784 if ( ( t->flags & T_FLAG_VISITED ) || !t->name || !t->boundname )
785 return;
786
787 t->flags |= T_FLAG_VISITED;
788
789 switch ( t->fate )
790 {
791 case T_FATE_TOUCHED:
792 case T_FATE_MISSING:
793 case T_FATE_OUTDATED:
794 case T_FATE_UPDATE:
795 out_printf( "->%s%2d Name: %s\n", spaces( depth ), depth, target_name( t
796 ) );
797 break;
798 default:
799 out_printf( " %s%2d Name: %s\n", spaces( depth ), depth, target_name( t
800 ) );
801 break;
802 }
803
804 if ( !object_equal( t->name, t->boundname ) )
805 out_printf( " %s Loc: %s\n", spaces( depth ), object_str( t->boundname )
806 );
807
808 switch ( t->fate )
809 {
810 case T_FATE_STABLE:
811 out_printf( " %s : Stable\n", spaces( depth ) );
812 break;
813 case T_FATE_NEWER:
814 out_printf( " %s : Newer\n", spaces( depth ) );
815 break;
816 case T_FATE_ISTMP:
817 out_printf( " %s : Up to date temp file\n", spaces( depth ) );
818 break;
819 case T_FATE_NEEDTMP:
820 out_printf( " %s : Temporary file, to be updated\n", spaces( depth )
821 );
822 break;
823 case T_FATE_TOUCHED:
824 out_printf( " %s : Been touched, updating it\n", spaces( depth ) );
825 break;
826 case T_FATE_MISSING:
827 out_printf( " %s : Missing, creating it\n", spaces( depth ) );
828 break;
829 case T_FATE_OUTDATED:
830 out_printf( " %s : Outdated, updating it\n", spaces( depth ) );
831 break;
832 case T_FATE_REBUILD:
833 out_printf( " %s : Rebuild, updating it\n", spaces( depth ) );
834 break;
835 case T_FATE_UPDATE:
836 out_printf( " %s : Updating it\n", spaces( depth ) );
837 break;

Callers 1

makeFunction · 0.85

Calls 5

out_printfFunction · 0.85
target_nameFunction · 0.85
object_equalFunction · 0.85
object_strFunction · 0.85
timestamp_cmpFunction · 0.85

Tested by

no test coverage detected