AdjacentInOut.cmake 343 B

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