summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/BuiltinTargets/TestDependsAll-Yes-build-check.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/BuiltinTargets/TestDependsAll-Yes-build-check.cmake')
-rw-r--r--Tests/RunCMake/BuiltinTargets/TestDependsAll-Yes-build-check.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/BuiltinTargets/TestDependsAll-Yes-build-check.cmake b/Tests/RunCMake/BuiltinTargets/TestDependsAll-Yes-build-check.cmake
new file mode 100644
index 0000000..ed175d4
--- /dev/null
+++ b/Tests/RunCMake/BuiltinTargets/TestDependsAll-Yes-build-check.cmake
@@ -0,0 +1,3 @@
+if(NOT EXISTS ${RunCMake_TEST_BINARY_DIR}/custom-output.txt)
+ set(RunCMake_TEST_FAILED "Building 'test' target did not build 'all' target:\n ${RunCMake_TEST_BINARY_DIR}/custom-output.txt")
+endif()