https://github.com/Kitware/CMake
Raw File
Tip revision: b5602e7254c8ce4a6f732c017d784cd80559e5aa authored by Brad King on 20 March 2024, 14:03:43 UTC
CMake 3.28.4
Tip revision: b5602e7
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