CMakeLists.txt 296 B

123456
  1. ADD_EXECUTABLE( exec ExecMain.c )
  2. # This executable directly depends on NoDepB, NoDepC and Five. However,
  3. # since NoDepB and NoDepC do not have explicit dependency information,
  4. # and they depend on NoDepA, we have to manually specify that dependency.
  5. LINK_LIBRARIES( NoDepB NoDepC NoDepA Five )