summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Configure/RerunCMake.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Configure/RerunCMake.cmake')
-rw-r--r--Tests/RunCMake/Configure/RerunCMake.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/Configure/RerunCMake.cmake b/Tests/RunCMake/Configure/RerunCMake.cmake
new file mode 100644
index 0000000..854c9a2
--- /dev/null
+++ b/Tests/RunCMake/Configure/RerunCMake.cmake
@@ -0,0 +1,4 @@
+set(input ${CMAKE_CURRENT_BINARY_DIR}/CustomCMakeInput.txt)
+set(stamp ${CMAKE_CURRENT_BINARY_DIR}/CustomCMakeStamp.txt)
+file(READ ${input} content)
+file(WRITE ${stamp} "${content}")