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

Function get_target_includes

v2/engine/rules.c:57–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 */
56
57static TARGET * get_target_includes( TARGET * const t )
58{
59 if ( !t->includes )
60 {
61 TARGET * const i = (TARGET *)BJAM_MALLOC( sizeof( *t ) );
62 memset( (char *)i, '\0', sizeof( *i ) );
63 i->name = object_copy( t->name );
64 i->boundname = object_copy( i->name );
65 i->flags |= T_FLAG_NOTFILE | T_FLAG_INTERNAL;
66 i->original_target = t;
67 t->includes = i;
68 }
69 return t->includes;
70}
71
72
73/*

Callers 2

target_includeFunction · 0.85
target_include_manyFunction · 0.85

Calls 1

object_copyFunction · 0.85

Tested by

no test coverage detected