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 Add an option for explicit BYPRODUCTS of custom commands (#14963) 2014-11-14 16:16:00 -05:00
SourceByproducts-stderr.txt Add an option for explicit BYPRODUCTS of custom commands (#14963) 2014-11-14 16:16:00 -05:00
SourceByproducts.cmake Add an option for explicit BYPRODUCTS of custom commands (#14963) 2014-11-14 16:16:00 -05:00
SourceUsesTerminal-result.txt Add USES_TERMINAL option for custom commands 2014-11-14 11:55:09 -05:00
SourceUsesTerminal-stderr.txt Add USES_TERMINAL option for custom commands 2014-11-14 11:55:09 -05:00
SourceUsesTerminal.cmake Add USES_TERMINAL option for custom commands 2014-11-14 11:55:09 -05:00
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