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

Function get_target_includes

src/engine/rules.cpp:57–69  ·  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 t->includes = i;
67 }
68 return t->includes;
69}
70
71
72/*

Callers 2

target_includeFunction · 0.85
target_include_manyFunction · 0.85

Calls 1

object_copyFunction · 0.85

Tested by

no test coverage detected