diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-05-28 20:02:57 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-29 09:29:31 (GMT) |
commit | fb2fa4765611bbf94fdf63a50ff20c5905d34057 (patch) | |
tree | 71e35fb7339df206bf77b4b58dadeba92446f926 /Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY-stderr.txt | |
parent | 5e9441cd39f9112acc052d465ebd9f21f29ad581 (diff) | |
download | CMake-fb2fa4765611bbf94fdf63a50ff20c5905d34057.zip CMake-fb2fa4765611bbf94fdf63a50ff20c5905d34057.tar.gz CMake-fb2fa4765611bbf94fdf63a50ff20c5905d34057.tar.bz2 |
Genex: Clarify error message on use with non-binary targets (#14899).
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY-stderr.txt')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY-stderr.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY-stderr.txt b/Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY-stderr.txt new file mode 100644 index 0000000..08ad3c2 --- /dev/null +++ b/Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY-stderr.txt @@ -0,0 +1,11 @@ +CMake Error at NonValidTarget-TARGET_PROPERTY.cmake:4 \(add_custom_command\): + Error evaluating generator expression: + + \$<TARGET_PROPERTY:NotAProperty> + + \$<TARGET_PROPERTY:prop> may only be used with binary targets. It may not + be used with add_custom_command or add_custom_target. Specify the target + to read a property from using the \$<TARGET_PROPERTY:tgt,prop> signature + instead. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) |