summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0026/CMP0026-WARN-Dir
Commit message (Collapse)AuthorAgeFilesLines
* cmTarget: Evaluate CMP0026 and CMP0051 in calling contextBrad King2014-05-091-0/+1
These policies should be checked at the call site that tries to access the LOCATION or SOURCES property, not the directory scope containing the target. Thread the caller context through cmTarget::GetProperty to use for checking the policy setting and emitting a diagnostic with proper backtrace. Extend the RunCMake.CMP0026 and RunCMake.CMP0051 tests with cross-directory cases.