summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-14 15:54:37 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-14 15:59:51 (GMT)
commit813bcc2997a5692e8d9e141cf12b662b8b4dfbac (patch)
tree1123388bb1cc446ee138dcabf17d01b3f0b2f8c1 /Tests
parent7b62ec2451f9c7ff0a58dd447e6906c02ac4dc24 (diff)
parent6e594916592e5f8f17b387546d79e484ac092b9e (diff)
downloadCMake-813bcc2997a5692e8d9e141cf12b662b8b4dfbac.zip
CMake-813bcc2997a5692e8d9e141cf12b662b8b4dfbac.tar.gz
CMake-813bcc2997a5692e8d9e141cf12b662b8b4dfbac.tar.bz2
Merge branch 'custom-command-expand-empty' into release-3.11
Merge-request: !2074
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/add_custom_target/CommandExpandsEmpty.cmake1
-rw-r--r--Tests/RunCMake/add_custom_target/RunCMakeTest.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_custom_target/CommandExpandsEmpty.cmake b/Tests/RunCMake/add_custom_target/CommandExpandsEmpty.cmake
new file mode 100644
index 0000000..bc899a4
--- /dev/null
+++ b/Tests/RunCMake/add_custom_target/CommandExpandsEmpty.cmake
@@ -0,0 +1 @@
+add_custom_target(EmptyCustom COMMAND "" COMMAND_EXPAND_LISTS)
diff --git a/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake b/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake
index 6c4e91b..2caed03 100644
--- a/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake
+++ b/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake
@@ -1,5 +1,6 @@
include(RunCMake)
+run_cmake(CommandExpandsEmpty)
run_cmake(NoArguments)
run_cmake(BadTargetName)
run_cmake(ByproductsNoCommand)