summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0116/WriteDepfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0116/WriteDepfile.cmake')
-rw-r--r--Tests/RunCMake/CMP0116/WriteDepfile.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0116/WriteDepfile.cmake b/Tests/RunCMake/CMP0116/WriteDepfile.cmake
new file mode 100644
index 0000000..1a74d2a
--- /dev/null
+++ b/Tests/RunCMake/CMP0116/WriteDepfile.cmake
@@ -0,0 +1,3 @@
+file(TOUCH "${OUTFILE}")
+file(TOUCH "${STAMPFILE}")
+file(WRITE "${DEPFILE}" "${DEPDIR}${OUTFILE}: ${DEPDIR}${INFILE}\n")