summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/build_command/CMP0061Common.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/build_command/CMP0061Common.cmake')
-rw-r--r--Tests/RunCMake/build_command/CMP0061Common.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/build_command/CMP0061Common.cmake b/Tests/RunCMake/build_command/CMP0061Common.cmake
new file mode 100644
index 0000000..50cd7d7
--- /dev/null
+++ b/Tests/RunCMake/build_command/CMP0061Common.cmake
@@ -0,0 +1,10 @@
+build_command(command)
+message("${command}")
+build_command(command TARGET MyTarget)
+message("${command}")
+build_command(command CONFIGURATION Debug)
+message("${command}")
+build_command(command CONFIGURATION Debug TARGET MyTarget)
+message("${command}")
+build_command(cache_command "${CMAKE_MAKE_PROGRAM}")
+message("${cache_command}")