You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
343 B

cmake_policy(SET CMP0070 NEW)
if(EXISTS "${CMAKE_CURRENT_BINARY_DIR}/AdjacentInOut.txt")
message(FATAL_ERROR "CMake should not re-run during the build!")
endif()
configure_file(AdjacentInOut.in ${CMAKE_CURRENT_BINARY_DIR}/AdjacentInOut.txt.tmp)
file(GENERATE OUTPUT AdjacentInOut.txt INPUT ${CMAKE_CURRENT_BINARY_DIR}/AdjacentInOut.txt.tmp)