summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/configure_file/UnknownArg-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-31 17:07:21 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-31 17:21:21 (GMT)
commit1531df2b866df9aa52dc54219a4552e94f47b622 (patch)
treebbe448bdacda4249295f02cf1b1983d0737f7c27 /Tests/RunCMake/configure_file/UnknownArg-stderr.txt
parent4abbb1400d81e1288cdf1e2f708eaa938f7b3955 (diff)
downloadCMake-1531df2b866df9aa52dc54219a4552e94f47b622.zip
CMake-1531df2b866df9aa52dc54219a4552e94f47b622.tar.gz
CMake-1531df2b866df9aa52dc54219a4552e94f47b622.tar.bz2
configure_file: Warn about unknown arguments
Extend the RunCMake.configure_file test with a case covering possible common typos of the COPYONLY option. Reported-by: Iosif Neitzke <iosif.neitzke@gmail.com>
Diffstat (limited to 'Tests/RunCMake/configure_file/UnknownArg-stderr.txt')
-rw-r--r--Tests/RunCMake/configure_file/UnknownArg-stderr.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/configure_file/UnknownArg-stderr.txt b/Tests/RunCMake/configure_file/UnknownArg-stderr.txt
new file mode 100644
index 0000000..46930c0
--- /dev/null
+++ b/Tests/RunCMake/configure_file/UnknownArg-stderr.txt
@@ -0,0 +1,10 @@
+CMake Warning \(dev\) at UnknownArg.cmake:1 \(configure_file\):
+ configure_file called with unknown argument\(s\):
+
+ COPY_ONLY
+ COPYFILE
+ COPY_FILE
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.