summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0040
Commit message (Collapse)AuthorAgeFilesLines
* add_custom_command: Clarify error when TARGET is out of scope (#15681)Brad King2016-01-282-2/+2
| | | | | | | | 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>
* RunCMake: Remove unneeded files.Stephen Kelly2015-02-093-3/+0
| | | | | The default expectation of RunCMake tests is empty content, so there is no need to specify it.
* Policies: omit warnings about unset policies when they are actually set to NEWNils Gladitz2014-03-311-5/+0
|
* Tests: Simplify and document policy scopes in RunCMake.CMP* testsBrad King2014-03-061-1/+1
| | | | | Drop unnecessary NO_POLICY_SCOPE options. Document why the remaining options are necessary.
* Add policy CMP0040 to disallow custom commands on missing targetsNils Gladitz2013-11-2118-0/+73