summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0040
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix RunCMake.CMP0040 custom command syntaxBrad King2016-08-245-5/+5
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-1/+1
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* 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