https://github.com/Kitware/CMake
Raw File
Tip revision: 61fd4c742013a7f9139db190f936703b656540ff authored by Brad King on 28 March 2018, 11:26:56 UTC
CMake 3.11.0
Tip revision: 61fd4c7
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