CMake/Tests/RunCMake/CMP0040
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
..
CMP0040-NEW-existing-target-result.txt Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-NEW-existing-target.cmake Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-NEW-missing-target-result.txt Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-NEW-missing-target-stderr.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
CMP0040-NEW-missing-target.cmake Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-OLD-existing-target-result.txt Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-OLD-existing-target.cmake Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-OLD-missing-target-result.txt Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-OLD-missing-target.cmake Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-WARN-missing-target-result.txt Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMP0040-WARN-missing-target-stderr.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
CMP0040-WARN-missing-target.cmake Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
CMakeLists.txt Tests: Simplify and document policy scopes in RunCMake.CMP* tests 2014-03-06 11:07:03 -05:00
RunCMakeTest.cmake Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00
empty.cpp Add policy CMP0040 to disallow custom commands on missing targets 2013-11-21 09:24:08 -05:00