summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTest/BeforeProject-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-03-12 22:20:01 (GMT)
committerBrad King <brad.king@kitware.com>2013-03-12 22:20:44 (GMT)
commitd90f49b8948c3047cb0839ce505f796952dbd880 (patch)
tree616a2b74cad6d1690ad0809eb87d6e49ea7d6979 /Tests/RunCMake/CTest/BeforeProject-stderr.txt
parent2e1c2bd2dd97e426944d6ac18e4073ec26ddf64c (diff)
downloadCMake-d90f49b8948c3047cb0839ce505f796952dbd880.zip
CMake-d90f49b8948c3047cb0839ce505f796952dbd880.tar.gz
CMake-d90f49b8948c3047cb0839ce505f796952dbd880.tar.bz2
CTest: Fail early without PROJECT_BINARY_DIR (#14005)
Do not use PROJECT_BINARY_DIR before it is defined. If it is not defined when needed, fail with an error message suggesting that the project() command be invoked first.
Diffstat (limited to 'Tests/RunCMake/CTest/BeforeProject-stderr.txt')
-rw-r--r--Tests/RunCMake/CTest/BeforeProject-stderr.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTest/BeforeProject-stderr.txt b/Tests/RunCMake/CTest/BeforeProject-stderr.txt
new file mode 100644
index 0000000..354896b
--- /dev/null
+++ b/Tests/RunCMake/CTest/BeforeProject-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at .*/Modules/CTest.cmake:[0-9]+ \(build_command\):
+ build_command\(\) requires CMAKE_MAKE_PROGRAM to be defined. Call project\(\)
+ or enable_language\(\) first.
+Call Stack \(most recent call first\):
+ BeforeProject.cmake:[0-9]+ \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)