summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0037
Commit message (Collapse)AuthorAgeFilesLines
* RunCMake: Remove unneeded files.Stephen Kelly2015-02-092-2/+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-313-45/+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.
* CMP0037: Extend policy to reserved names and custom targetsNils Gladitz2013-11-1916-40/+161
| | | | | | | | Teach add_custom_target to check the policy too. Extend the policy to disallow reserved target names that we use for builtin targets like "all". Extend the RunCMake.CMP0037 test to cover these cases.
* Enable RunCMake.CMP0037 test everywhereBrad King2013-11-1118-89/+98
| | | | | | | | | | | Split the test cases covering spaces and colons into separate units. Run the space cases everywhere. Disable the colon cases where they are known to fail. This approach increases platform coverage for the test and makes the known-failure logic as local as possible. No Makefile generator on Windows can generate targets with ':' in their name because the CMakeFiles/<target>.dir directory cannot be created. Skip this part of the test on all Windows Make tools.
* Disallow invalid target names (#13140)Stephen Kelly2013-11-0712-0/+118
Exclude Borland and NMake from the CMP0037 test. They do not accept the colon in a target name.