summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Make/CustomCommandDepfile-ERROR.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Make/CustomCommandDepfile-ERROR.cmake')
-rw-r--r--Tests/RunCMake/Make/CustomCommandDepfile-ERROR.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/Make/CustomCommandDepfile-ERROR.cmake b/Tests/RunCMake/Make/CustomCommandDepfile-ERROR.cmake
new file mode 100644
index 0000000..bad7955
--- /dev/null
+++ b/Tests/RunCMake/Make/CustomCommandDepfile-ERROR.cmake
@@ -0,0 +1,8 @@
+add_custom_command(
+ OUTPUT hello.copy.c
+ COMMAND "${CMAKE_COMMAND}" -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/hello.c"
+ hello.copy.c
+ WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
+ DEPFILE "test.d"
+ )