summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-30 16:49:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-01-31 16:27:06 (GMT)
commitdf4d2b28b24a3172daf1290070199633f7c46cf0 (patch)
tree855ffcc38839088c1571988199461e1959f99cb2 /Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt
parent7ceeba992b4fb35ca05760b3170e68f41dfc1bb5 (diff)
downloadCMake-df4d2b28b24a3172daf1290070199633f7c46cf0.zip
CMake-df4d2b28b24a3172daf1290070199633f7c46cf0.tar.gz
CMake-df4d2b28b24a3172daf1290070199633f7c46cf0.tar.bz2
Make it an error for INSTALL_PREFIX to be evaluated.
An empty string is not likely going to produce expected results in any evaluation context. It is replaced by preprocessing currently.
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt')
-rw-r--r--Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt b/Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt
new file mode 100644
index 0000000..271eb6e
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt
@@ -0,0 +1,9 @@
+CMake Error at BadInstallPrefix.cmake:1 \(add_custom_target\):
+ Error evaluating generator expression:
+
+ \$<INSTALL_PREFIX>
+
+ INSTALL_PREFIX is a marker for install\(EXPORT\) only. It should never be
+ evaluated.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)