summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-04-05 15:21:57 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-04-19 13:04:54 (GMT)
commit3fdae5acaaa7ef29e8776e4dccde6102016624f6 (patch)
treef47d16339bdf750c80eae9200d2ddf1a7ab84153 /Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt
parent38332fc4facce48d6eaefdf55886a3e1eb85e659 (diff)
downloadCMake-3fdae5acaaa7ef29e8776e4dccde6102016624f6.zip
CMake-3fdae5acaaa7ef29e8776e4dccde6102016624f6.tar.gz
CMake-3fdae5acaaa7ef29e8776e4dccde6102016624f6.tar.bz2
Genex: Add generator expressions $<DEVICE_LINK> and $<HOST_LINK>
These generator expressions can only be used in link options properties. These expressions return the arguments respectively for device and host link step, otherwise return an empty string.
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt')
-rw-r--r--Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt b/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt
new file mode 100644
index 0000000..cdd3043
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt
@@ -0,0 +1,9 @@
+CMake Error at DEVICE_LINK-add_custom_target.cmake:[0-9]+ \(add_custom_target\):
+ Error evaluating generator expression:
+
+ \$<DEVICE_LINK>
+
+ \$<DEVICE_LINK:...> may only be used with binary targets to specify link
+ options.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:[0-9]+ \(include\)