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
Stephen Kelly
1c3918ff02
RunCMake: Remove unneeded files.
...
The default expectation of RunCMake tests is empty content, so there
is no need to specify it.
2015-02-09 19:15:04 +01:00
Nils Gladitz
77b581c2f0
Policies: omit warnings about unset policies when they are actually set to NEW
2014-03-31 09:45:10 -04:00
Brad King
50fd0a33c9
Tests: Simplify and document policy scopes in RunCMake.CMP* tests
...
Drop unnecessary NO_POLICY_SCOPE options. Document why the remaining
options are necessary.
2014-03-06 11:07:03 -05:00
Nils Gladitz
a02f3d2de0
Add policy CMP0040 to disallow custom commands on missing targets
2013-11-21 09:24:08 -05:00