CMake/Tests/RunCMake/Configure/RerunCMake.cmake

5 lines
184 B
CMake
Raw Normal View History

set(input ${CMAKE_CURRENT_BINARY_DIR}/CustomCMakeInput.txt)
set(stamp ${CMAKE_CURRENT_BINARY_DIR}/CustomCMakeStamp.txt)
file(READ ${input} content)
file(WRITE ${stamp} "${content}")