https://github.com/Kitware/CMake
Raw File
Tip revision: ef5e2e8a62982ebccf4883fc7a01cdb66f8ca183 authored by Brad King on 13 June 2018, 14:52:11 UTC
Merge branch 'sphinx-info' into release-3.12
Tip revision: ef5e2e8
check_mark.cmake
if(EXISTS "${MARK_FILE}")
  message(FATAL_ERROR "Custom command run more than once!")
else()
  file(WRITE "${MARK_FILE}" "check for running custom command twice\n")
endif()
back to top