summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/INSTALL-FILES_FROM_DIR-bad-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-13 20:32:51 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-13 20:32:51 (GMT)
commit99b90dbf3c6ddb1093dfd867c6810003a61cdde7 (patch)
treedab3ca97289660b1a5a487a75d0f3597de82654e /Tests/RunCMake/file/INSTALL-FILES_FROM_DIR-bad-stderr.txt
parentdadf1570d919a8dd79547b8a01644d03ae607040 (diff)
downloadCMake-99b90dbf3c6ddb1093dfd867c6810003a61cdde7.zip
CMake-99b90dbf3c6ddb1093dfd867c6810003a61cdde7.tar.gz
CMake-99b90dbf3c6ddb1093dfd867c6810003a61cdde7.tar.bz2
file: Add COPY/INSTALL option for fixed layout relative to a directory
Add a `FILES_FROM_DIR` option to install a specific set of files specified relative to a given directory and preserve their layout in the destination. Currently we intend to use this internally to implement other things so we don't provide an `install()` porcelain or documentation yet.
Diffstat (limited to 'Tests/RunCMake/file/INSTALL-FILES_FROM_DIR-bad-stderr.txt')
-rw-r--r--Tests/RunCMake/file/INSTALL-FILES_FROM_DIR-bad-stderr.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/INSTALL-FILES_FROM_DIR-bad-stderr.txt b/Tests/RunCMake/file/INSTALL-FILES_FROM_DIR-bad-stderr.txt
new file mode 100644
index 0000000..9d5f876
--- /dev/null
+++ b/Tests/RunCMake/file/INSTALL-FILES_FROM_DIR-bad-stderr.txt
@@ -0,0 +1,15 @@
+^CMake Error at INSTALL-FILES_FROM_DIR-bad.cmake:[0-9]+ \(file\):
+ file option FILES_FROM_DIR requires all files to be specified as relative
+ paths\.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:[0-9]+ \(include\)
++
+CMake Error at INSTALL-FILES_FROM_DIR-bad.cmake:[0-9]+ \(file\):
+ file INSTALL option RENAME may not be combined with FILES_FROM_DIR\.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:[0-9]+ \(include\)
++
+CMake Error at INSTALL-FILES_FROM_DIR-bad.cmake:[0-9]+ \(file\):
+ file option FILES_FROM_DIR may not appear after PATTERN or REGEX\.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:[0-9]+ \(include\)$