summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/InterfaceLibrary/add_custom_command-TARGET.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/InterfaceLibrary/add_custom_command-TARGET.cmake')
-rw-r--r--Tests/RunCMake/InterfaceLibrary/add_custom_command-TARGET.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/InterfaceLibrary/add_custom_command-TARGET.cmake b/Tests/RunCMake/InterfaceLibrary/add_custom_command-TARGET.cmake
new file mode 100644
index 0000000..a5136ef
--- /dev/null
+++ b/Tests/RunCMake/InterfaceLibrary/add_custom_command-TARGET.cmake
@@ -0,0 +1,6 @@
+
+add_library(iface INTERFACE)
+
+add_custom_command(TARGET iface
+ COMMAND "${CMAKE_COMMAND}" -E echo test
+)