CMake/Tests/RunCMake/CMP0026
Brad King 23409f50f1 cmTarget: Evaluate CMP0026 in calling context
This policy should be checked at the call site that tries to access the
LOCATION 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 test with a cross-directory case.
2014-05-09 11:12:48 -04:00
..
CMP0026-WARN-Dir cmTarget: Evaluate CMP0026 in calling context 2014-05-09 11:12:48 -04:00
CMP0026-CONFIG-LOCATION-NEW-result.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-CONFIG-LOCATION-NEW-stderr.txt Policies: omit warnings about unset policies when they are actually set to NEW 2014-03-31 09:45:10 -04:00
CMP0026-CONFIG-LOCATION-NEW.cmake cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-CONFIG-LOCATION-OLD-result.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-CONFIG-LOCATION-OLD-stderr.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-CONFIG-LOCATION-OLD.cmake cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-CONFIG-LOCATION-WARN-result.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-CONFIG-LOCATION-WARN-stderr.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-CONFIG-LOCATION-WARN.cmake cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-IMPORTED-result.txt cmTarget: Deprecate the LOCATION target property with a policy. 2013-10-11 21:17:27 +02:00
CMP0026-IMPORTED-stderr.txt cmTarget: Deprecate the LOCATION target property with a policy. 2013-10-11 21:17:27 +02:00
CMP0026-IMPORTED.cmake cmTarget: Deprecate the LOCATION target property with a policy. 2013-10-11 21:17:27 +02:00
CMP0026-LOCATION-CONFIG-NEW-result.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-LOCATION-CONFIG-NEW-stderr.txt Policies: omit warnings about unset policies when they are actually set to NEW 2014-03-31 09:45:10 -04:00
CMP0026-LOCATION-CONFIG-NEW.cmake cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-LOCATION-CONFIG-OLD-result.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-LOCATION-CONFIG-OLD-stderr.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-LOCATION-CONFIG-OLD.cmake cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-LOCATION-CONFIG-WARN-result.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-LOCATION-CONFIG-WARN-stderr.txt cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-LOCATION-CONFIG-WARN.cmake cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0026-NEW-result.txt cmTarget: Deprecate the LOCATION target property with a policy. 2013-10-11 21:17:27 +02:00
CMP0026-NEW-stderr.txt Policies: omit warnings about unset policies when they are actually set to NEW 2014-03-31 09:45:10 -04:00
CMP0026-NEW.cmake cmTarget: Deprecate the LOCATION target property with a policy. 2013-10-11 21:17:27 +02:00
CMP0026-WARN-result.txt cmTarget: Deprecate the LOCATION target property with a policy. 2013-10-11 21:17:27 +02:00
CMP0026-WARN-stderr.txt cmTarget: Evaluate CMP0026 in calling context 2014-05-09 11:12:48 -04:00
CMP0026-WARN.cmake cmTarget: Evaluate CMP0026 in calling context 2014-05-09 11:12:48 -04:00
CMakeLists.txt Cygwin: Avoid legacy warnings in RunCMake.CMP0026 test 2013-10-19 06:47:12 -04:00
RunCMakeTest.cmake cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
empty.cpp cmTarget: Deprecate the LOCATION target property with a policy. 2013-10-11 21:17:27 +02:00