summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-09-23 20:18:36 (GMT)
committerDaniel Eiband <daniel.eiband@brainlab.com>2019-09-23 20:18:36 (GMT)
commita1cc6b4447787b84777fdf9a860e8c39f0f4a090 (patch)
tree2c6bda9df6651b5732f6eef005333c15a3d07d65 /Tests/RunCMake/add_custom_target/RunCMakeTest.cmake
parentcbb861ade85e3b7e550bb1f150513b237efc1f02 (diff)
downloadCMake-a1cc6b4447787b84777fdf9a860e8c39f0f4a090.zip
CMake-a1cc6b4447787b84777fdf9a860e8c39f0f4a090.tar.gz
CMake-a1cc6b4447787b84777fdf9a860e8c39f0f4a090.tar.bz2
add_custom_target: Add output checks for custom target byproducts
Use the output checks for byproducts of add_custom_command also for byproducts of add_custom_target.
Diffstat (limited to 'Tests/RunCMake/add_custom_target/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/add_custom_target/RunCMakeTest.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake b/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake
index 49c7d3e..f5d5dd2 100644
--- a/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake
+++ b/Tests/RunCMake/add_custom_target/RunCMakeTest.cmake
@@ -1,11 +1,12 @@
include(RunCMake)
-run_cmake(CommandExpandsEmpty)
-run_cmake(GeneratedProperty)
-run_cmake(NoArguments)
+run_cmake(BadByproduct)
run_cmake(BadTargetName)
run_cmake(ByproductsNoCommand)
+run_cmake(CommandExpandsEmpty)
+run_cmake(GeneratedProperty)
run_cmake(LiteralQuotes)
+run_cmake(NoArguments)
run_cmake(UsesTerminalNoCommand)
function(run_TargetOrder)