CMake/Tests/RunCMake/CMP0051
Brad King 911cc9a39e cmTarget: Evaluate CMP0026 and CMP0051 in calling context
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.
2014-05-09 11:24:15 -04:00
..
CMP0051-WARN-Dir cmTarget: Evaluate CMP0026 and CMP0051 in calling context 2014-05-09 11:24:15 -04:00
CMP0051-NEW-result.txt cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
CMP0051-NEW-stderr.txt cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
CMP0051-NEW.cmake cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
CMP0051-OLD-result.txt cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
CMP0051-OLD-stderr.txt cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
CMP0051-OLD.cmake cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
CMP0051-WARN-result.txt cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
CMP0051-WARN-stderr.txt cmTarget: Evaluate CMP0026 and CMP0051 in calling context 2014-05-09 11:24:15 -04:00
CMP0051-WARN.cmake cmTarget: Evaluate CMP0026 and CMP0051 in calling context 2014-05-09 11:24:15 -04:00
CMakeLists.txt cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
RunCMakeTest.cmake cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00
empty.cpp cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 2014-04-02 23:12:56 +02:00