CMakeLists.txt 583 B

123456789101112
  1. # Here, Eight depends on Seven, which has the same dependencies as Five.
  2. # If the dependencies of Five are emitted, and then we attempt to emit the
  3. # dependencies of Seven, then we find that they have already been done. So:
  4. # Original line: Eight Five
  5. # Add deps of Five: Eight Five Two ... NoDepA
  6. # Now, we must make sure that Seven gets inserted between Five and Two, and
  7. # not at the end. Unfortunately, if we get it wrong, the test will only
  8. # fail on a platform where the link order makes a difference.
  9. link_libraries( Eight Five )
  10. add_executable( exec2 ExecMain.c )