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

Function force_rebuilds

v2/engine/make.c:204–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 */
203
204static void force_rebuilds( TARGET * t )
205{
206 TARGETS * d;
207 for ( d = t->rebuilds; d; d = d->next )
208 {
209 TARGET * r = d->target;
210
211 /* If it is not already being rebuilt for other reasons. */
212 if ( r->fate < T_FATE_BUILD )
213 {
214 if ( DEBUG_FATE )
215 printf( "fate change %s from %s to %s (by rebuild)\n",
216 object_str( r->name ), target_fate[ (int) r->fate ], target_fate[ T_FATE_REBUILD ] );
217
218 /* Force rebuild it. */
219 r->fate = T_FATE_REBUILD;
220
221 /* And make sure its dependants are updated too. */
222 update_dependants( r );
223 }
224 }
225}
226
227
228int make0rescan( TARGET * t, TARGET * rescanning )

Callers 2

update_dependantsFunction · 0.85
make0Function · 0.85

Calls 2

object_strFunction · 0.85
update_dependantsFunction · 0.85

Tested by

no test coverage detected