https://github.com/Kitware/CMake
Raw File
Tip revision: 86ead0b5a32ee48907084a7cf85d00196cbf0366 authored by Brad King on 10 July 2019, 16:27:14 UTC
CMake 3.15.0-rc4
Tip revision: 86ead0b
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