summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-15 18:33:09 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-16 12:03:35 (GMT)
commit64a8587332d1287757487f56f6d9bbeec095369f (patch)
treeb70e73f6b234f0b2e9cc64a4069390fc4acf2210 /Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt
parent6f224a065c7e0627fca2d3026fc507663b851eb4 (diff)
downloadCMake-64a8587332d1287757487f56f6d9bbeec095369f.zip
CMake-64a8587332d1287757487f56f6d9bbeec095369f.tar.gz
CMake-64a8587332d1287757487f56f6d9bbeec095369f.tar.bz2
Tests: Factor out RunCMake.GenEx-HOST_LINK test
Move the `HOST_LINK` cases out of `RunCMake.GeneratorExpression`.
Diffstat (limited to 'Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt')
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt
new file mode 100644
index 0000000..b395515
--- /dev/null
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt
@@ -0,0 +1,9 @@
+CMake Error at HOST_LINK-add_executable.cmake:[0-9]+ \(add_executable\):
+ Error evaluating generator expression:
+
+ \$<HOST_LINK:empty.c>
+
+ \$<HOST_LINK:...> may only be used with binary targets to specify link
+ options.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:[0-9]+ \(include\)