summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CSharpCustomCommand/TargetWithCommand.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-31 13:35:19 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-31 13:35:19 (GMT)
commit609bdd126d56f81cbf59bacd6931cf8a53c36229 (patch)
tree9c26f95f6e8a6cb351d976de0955004d1b28f406 /Tests/RunCMake/CSharpCustomCommand/TargetWithCommand.cmake
parent88477e0429f62bc4d8d252da460b9202f2f924be (diff)
parent1acd1c2b50f461ee2cf90fb7166240f180147f19 (diff)
downloadCMake-609bdd126d56f81cbf59bacd6931cf8a53c36229.zip
CMake-609bdd126d56f81cbf59bacd6931cf8a53c36229.tar.gz
CMake-609bdd126d56f81cbf59bacd6931cf8a53c36229.tar.bz2
Merge branch 'backport-fix-custom-target-with-csharp' into release-3.12
Merge-request: !2549
Diffstat (limited to 'Tests/RunCMake/CSharpCustomCommand/TargetWithCommand.cmake')
-rw-r--r--Tests/RunCMake/CSharpCustomCommand/TargetWithCommand.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CSharpCustomCommand/TargetWithCommand.cmake b/Tests/RunCMake/CSharpCustomCommand/TargetWithCommand.cmake
new file mode 100644
index 0000000..fdaea5c
--- /dev/null
+++ b/Tests/RunCMake/CSharpCustomCommand/TargetWithCommand.cmake
@@ -0,0 +1,4 @@
+enable_language(CSharp)
+
+add_custom_target(drive ALL SOURCES dummy.cs
+ COMMAND ${CMAKE_COMMAND} -E echo "Custom target with CSharp source")