summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_custom_command/BadCommand.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/add_custom_command/BadCommand.cmake')
-rw-r--r--Tests/RunCMake/add_custom_command/BadCommand.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_custom_command/BadCommand.cmake b/Tests/RunCMake/add_custom_command/BadCommand.cmake
new file mode 100644
index 0000000..8c9c3f9
--- /dev/null
+++ b/Tests/RunCMake/add_custom_command/BadCommand.cmake
@@ -0,0 +1,3 @@
+add_custom_command(OUTPUT "a" COMMAND "$<1:$<OUTPUT_CONFIG:a>>")
+add_custom_command(OUTPUT "b" COMMAND "$<1:$<COMMAND_CONFIG:b>>")
+add_custom_target(drive DEPENDS "a" "b")