mirror of
https://github.com/reactos/CMake.git
synced 2024-12-19 09:36:44 +00:00
adb58d5e36
Strong dependencies (created by add_dependencies) must be honored when linearizing a strongly-connected component of the target dependency graph. The initial graph edges have strong/weak labels and can contain cycles that do not consist exclusively of strong edges. The final graph never contains cycles so all edges can be strong.
16 lines
273 B
C
16 lines
273 B
C
#include <two-test.h> /* Requires TwoCustom to be built first. */
|
|
void NoDepAFunction();
|
|
void OneFunction();
|
|
void TwoFunction();
|
|
|
|
void FourFunction()
|
|
{
|
|
static int count = 0;
|
|
if( count == 0 ) {
|
|
++count;
|
|
TwoFunction();
|
|
}
|
|
OneFunction();
|
|
NoDepAFunction();
|
|
}
|