summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/COPY_FILE-arg-unknown-stderr.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-03-04 16:50:10 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-03-10 15:43:18 (GMT)
commit088444211e942a3587f4af5ef76c3654f2562364 (patch)
treefa5bd94beead2050d900e7c2341dc27899b2733e /Tests/RunCMake/file/COPY_FILE-arg-unknown-stderr.txt
parent100016e9cb31aad7b642a9733409c7294cd6652f (diff)
downloadCMake-088444211e942a3587f4af5ef76c3654f2562364.zip
CMake-088444211e942a3587f4af5ef76c3654f2562364.tar.gz
CMake-088444211e942a3587f4af5ef76c3654f2562364.tar.bz2
file: add `COPY_FILE` subcommand
The `file(COPY)` subcommand is overloaded and busy for such a simple operation. Instead, make a simpler subcommand with error handling support.
Diffstat (limited to 'Tests/RunCMake/file/COPY_FILE-arg-unknown-stderr.txt')
-rw-r--r--Tests/RunCMake/file/COPY_FILE-arg-unknown-stderr.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/COPY_FILE-arg-unknown-stderr.txt b/Tests/RunCMake/file/COPY_FILE-arg-unknown-stderr.txt
new file mode 100644
index 0000000..e5ccd33
--- /dev/null
+++ b/Tests/RunCMake/file/COPY_FILE-arg-unknown-stderr.txt
@@ -0,0 +1,5 @@
+^CMake Error at [^
+]*/Tests/RunCMake/file/COPY_FILE-arg-unknown.cmake:1 \(file\):
+ file COPY_FILE unknown argument:
+
+ unknown$