diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2002-11-19 23:01:05 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2002-11-19 23:01:05 (GMT) |
commit | 939035ad91aff5de5a1b514176cd2765a1b9a728 (patch) | |
tree | 9994ce3571301afd9a375bd50eda63603b4de202 /Tests/LinkLineOrder/NoDepC.c | |
parent | 7140c6f364c55084d5e581cc7e603032ec4087b9 (diff) | |
download | CMake-939035ad91aff5de5a1b514176cd2765a1b9a728.zip CMake-939035ad91aff5de5a1b514176cd2765a1b9a728.tar.gz CMake-939035ad91aff5de5a1b514176cd2765a1b9a728.tar.bz2 |
BUG: the dependency analysis would incorrectly alphabetically re-order the
link lines, which affects external libraries pulled up from deep within
the dependency tree. Fixed by preserving order everywhere.
Diffstat (limited to 'Tests/LinkLineOrder/NoDepC.c')
-rw-r--r-- | Tests/LinkLineOrder/NoDepC.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/LinkLineOrder/NoDepC.c b/Tests/LinkLineOrder/NoDepC.c new file mode 100644 index 0000000..00c1af4 --- /dev/null +++ b/Tests/LinkLineOrder/NoDepC.c @@ -0,0 +1,7 @@ +// depends on NoDepA +void NoDepA_func(); + +void NoDepC_func() +{ + NoDepA_func(); +} |