e4e5b28c27
The final location and name of a build-target is not determined until generate-time. However, reading the LOCATION property from a target is currently allowed at configure time. Apart from creating possibly-erroneous results, this has an impact on the implementation of cmake itself, and prevents some major cleanups from being made. Disallow reading LOCATION from build-targets with a policy. Port some existing uses of it in CMake itself to use the TARGET_FILE generator expression. |
||
---|---|---|
.. | ||
CMP0026-IMPORTED-result.txt | ||
CMP0026-IMPORTED-stderr.txt | ||
CMP0026-IMPORTED.cmake | ||
CMP0026-NEW-result.txt | ||
CMP0026-NEW-stderr.txt | ||
CMP0026-NEW.cmake | ||
CMP0026-WARN-result.txt | ||
CMP0026-WARN-stderr.txt | ||
CMP0026-WARN.cmake | ||
CMakeLists.txt | ||
RunCMakeTest.cmake | ||
empty.cpp |