check-parallel.cmake 373 B

123456789101112131415
  1. include(read-ninja-install.cmake)
  2. foreach(line ${lines})
  3. string(REPLACE "\t" ";" line ${line})
  4. list(GET line 0 start)
  5. list(GET line 1 end)
  6. list(APPEND start_times ${start})
  7. list(APPEND end_times ${end})
  8. endforeach()
  9. list(GET start_times 1 start_2)
  10. list(GET end_times 0 end_1)
  11. if (NOT start_2 LESS end_1)
  12. message(FATAL_ERROR "Install is not parallel")
  13. endif()