swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Raw File
Tip revision: 63d21c1f8efeb2f2337221119c479d75bbb0b7c0 authored by David Cole on 03 November 2010, 17:38:38 UTC
CMake 2.8.3
Tip revision: 63d21c1
check_mark.cmake
IF(EXISTS "${MARK_FILE}")
  MESSAGE(FATAL_ERROR "Custom command run more than once!")
ELSE(EXISTS "${MARK_FILE}")
  FILE(WRITE "${MARK_FILE}" "check for running custom command twice\n")
ENDIF(EXISTS "${MARK_FILE}")
back to top