summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPolicies
Commit message (Collapse)AuthorAgeFilesLines
* Export: Disallow exported interface includes in src/build tree (#14592).Stephen Kelly2014-04-091-0/+1
| | | | | | | | | | | Allow directories in the source tree or build tree only if the install tree is a subdirectory of the source tree or build tree, as appropriate. Re-use the test files in the RunCMake.include_directories test to run in multiple scenarios. Bump the required CMake version in the test to 3.0 to ensure that the new policy warnings are emitted correctly.
* Record more policies on targets when createdBrad King2014-03-061-0/+3
| | | | | Policies CMP0027, CMP0038, and CMP0046 have per-target meaning so record the policy settings on targets as they are created.
* Help: Ensure that target-policies are added to the documentation.Stephen Kelly2014-01-071-0/+5
| | | | The two most-recently-added policies were not tested for.
* Cygwin: Avoid legacy warnings in RunCMake.* testsBrad King2013-08-131-1/+1
| | | | | | Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching.
* Genex: Make CMP0021 and CMP0022 usable with TARGET_POLICYStephen Kelly2013-07-116-0/+35
Use preprocessor loops and add a unit test for the appropriate policies. All policies whose value is recorded at target creation time should be part of this list.