summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ExternalProject/SourceMissing-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-08 13:18:50 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-08 13:20:43 (GMT)
commitdcb188363d5faba80664c17e9a4713bbd5c0b372 (patch)
tree5403af400e5061d43e843a59b056b2332ab98b28 /Tests/RunCMake/ExternalProject/SourceMissing-stderr.txt
parent4566850bdd48c53997c5aea4489d5949c7d26b0b (diff)
downloadCMake-dcb188363d5faba80664c17e9a4713bbd5c0b372.zip
CMake-dcb188363d5faba80664c17e9a4713bbd5c0b372.tar.gz
CMake-dcb188363d5faba80664c17e9a4713bbd5c0b372.tar.bz2
ExternalProject: Improve error when SOURCE_DIR is missing (#15560)
Mention the SOURCE_DIR that we checked and found empty or missing so that the user can see the full path to what we expected to find.
Diffstat (limited to 'Tests/RunCMake/ExternalProject/SourceMissing-stderr.txt')
-rw-r--r--Tests/RunCMake/ExternalProject/SourceMissing-stderr.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/RunCMake/ExternalProject/SourceMissing-stderr.txt b/Tests/RunCMake/ExternalProject/SourceMissing-stderr.txt
new file mode 100644
index 0000000..e62f7cf
--- /dev/null
+++ b/Tests/RunCMake/ExternalProject/SourceMissing-stderr.txt
@@ -0,0 +1,18 @@
+^CMake Error at .*/Modules/ExternalProject.cmake:[0-9]+ \(message\):
+ No download info given for 'MyProj' and its source directory:
+
+ .*/Tests/RunCMake/ExternalProject/SourceMissing-build/SourceMissing
+
+ is not an existing non-empty directory. Please specify one of:
+
+ \* SOURCE_DIR with an existing non-empty directory
+ \* URL
+ \* GIT_REPOSITORY
+ \* HG_REPOSITORY
+ \* CVS_REPOSITORY and CVS_MODULE
+ \* SVN_REVISION
+ \* DOWNLOAD_COMMAND
+Call Stack \(most recent call first\):
+ .*/Modules/ExternalProject.cmake:[0-9]+ \(_ep_add_download_command\)
+ SourceMissing.cmake:[0-9]+ \(ExternalProject_Add\)
+ CMakeLists.txt:[0-9]+ \(include\)$