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

Function dependGraphOutput

src/engine/make.cpp:786–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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