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
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
SourceByproducts-result.txt
SourceByproducts-stderr.txt
SourceByproducts.cmake
SourceUsesTerminal-result.txt
SourceUsesTerminal-stderr.txt
SourceUsesTerminal.cmake
TargetImported-result.txt
TargetImported-stderr.txt
TargetImported.cmake
TargetNotInDir-result.txt
TargetNotInDir-stderr.txt
TargetNotInDir.cmake