2002-05-10 21:35:42 +04:00
|
|
|
# Here, Eight depends on Seven, which has the same dependencies as Five.
|
|
|
|
# If the dependencies of Five are emitted, and then we attempt to emit the
|
|
|
|
# dependencies of Seven, then we find that they have already been done. So:
|
|
|
|
# Original line: Eight Five
|
2012-08-13 21:42:58 +04:00
|
|
|
# Add deps of Five: Eight Five Two ... NoDepA
|
2002-05-10 21:35:42 +04:00
|
|
|
# Now, we must make sure that Seven gets inserted between Five and Two, and
|
|
|
|
# not at the end. Unfortunately, if we get it wrong, the test will only
|
|
|
|
# fail on a platform where the link order makes a difference.
|
2012-08-13 21:47:32 +04:00
|
|
|
link_libraries( Eight Five )
|
2002-05-10 21:35:42 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
add_executable( exec2 ExecMain.c )
|
2002-05-10 21:35:42 +04:00
|
|
|
|