summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/BuildDepends/RepeatCMake-Custom-Script.cmake
blob: 3e953b349e5cee3a663e4cc9e4400eff381abf95 (plain)
1
2
3
4
if(EXISTS "${CMAKE_CURRENT_BINARY_DIR}/exists-for-build2")
  message(FATAL_ERROR "Custom command incorrectly re-ran after CMake re-ran!")
endif()
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/out.txt")