object_depends_check.cmake 184 B

1234567
  1. if(NOT EXISTS "${txt}" OR NOT EXISTS "${exe}")
  2. file(REMOVE "${out}")
  3. elseif("${exe}" IS_NEWER_THAN "${txt}")
  4. file(WRITE "${out}" "1\n")
  5. else()
  6. file(WRITE "${out}" "0\n")
  7. endif()