summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/DOWNLOAD-unused-argument-stderr.txt
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-09 20:19:39 (GMT)
committerRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-09 20:19:39 (GMT)
commit4dd997da541be93b0cfacdd8483eaec8dd2a76d5 (patch)
tree6e906990cdac22724553fbe4a9cf5e0be8961684 /Tests/RunCMake/file/DOWNLOAD-unused-argument-stderr.txt
parentd5e4cdc0f8c846cdf17f3276d77d352a7644bc88 (diff)
downloadCMake-4dd997da541be93b0cfacdd8483eaec8dd2a76d5.zip
CMake-4dd997da541be93b0cfacdd8483eaec8dd2a76d5.tar.gz
CMake-4dd997da541be93b0cfacdd8483eaec8dd2a76d5.tar.bz2
file(DOWNLOAD|UPLOAD): Warn on unexpected arguments
Emit warning message on unparsed argument instead of silently ignoring it. Can't stop with the error message because it may break old code.
Diffstat (limited to 'Tests/RunCMake/file/DOWNLOAD-unused-argument-stderr.txt')
-rw-r--r--Tests/RunCMake/file/DOWNLOAD-unused-argument-stderr.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/DOWNLOAD-unused-argument-stderr.txt b/Tests/RunCMake/file/DOWNLOAD-unused-argument-stderr.txt
new file mode 100644
index 0000000..82a78c9
--- /dev/null
+++ b/Tests/RunCMake/file/DOWNLOAD-unused-argument-stderr.txt
@@ -0,0 +1,5 @@
+^CMake Warning \(dev\) at DOWNLOAD-unused-argument.cmake:[0-9]+ \(file\):
+ Unexpected argument: JUNK
+Call Stack \(most recent call first\):
+ CMakeLists.txt:[0-9]+ \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.$