CMake/Tests/RunCMake/add_custom_command
Brad King d257d68138 add_custom_command: Clarify error when TARGET is out of scope (#15681)
The add_custom_command(TARGET) signature only works for targets defined
in the current directory.  Clarify this in the error message when the
target exists but was defined elsewhere.

Inspired-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2016-01-28 10:33:26 -05:00
..
TargetNotInDir add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
AppendNoOutput-result.txt
AppendNoOutput-stderr.txt
AppendNoOutput.cmake
AppendNotOutput-result.txt
AppendNotOutput-stderr.txt
AppendNotOutput.cmake
BadArgument-result.txt
BadArgument-stderr.txt
BadArgument.cmake
CMakeLists.txt
NoArguments-result.txt
NoArguments-stderr.txt
NoArguments.cmake
NoOutputOrTarget-result.txt
NoOutputOrTarget-stderr.txt
NoOutputOrTarget.cmake
OutputAndTarget-result.txt
OutputAndTarget-stderr.txt
OutputAndTarget.cmake
RunCMakeTest.cmake add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
SourceByproducts-result.txt
SourceByproducts-stderr.txt
SourceByproducts.cmake
SourceUsesTerminal-result.txt
SourceUsesTerminal-stderr.txt
SourceUsesTerminal.cmake
TargetImported-result.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetImported-stderr.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetImported.cmake add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetNotInDir-result.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetNotInDir-stderr.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetNotInDir.cmake add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00