cmake/Tests/RunCMake/BuildDepends/RepeatCMake-Custom-Script.cmake
2021-09-14 00:13:48 +02:00

5 lines
196 B
CMake

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")