summaryrefslogtreecommitdiffstats
path: root/Help/policy
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-15 08:18:39 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-17 13:30:39 (GMT)
commitc903b5319bfcf383964c625bb84d7bc958aba2e9 (patch)
tree64f66ec7b80ef6ad831a0a5260ddf55ec7c7776b /Help/policy
parent59d3898bc74c950a08b58b885867b7f0d18be8d5 (diff)
downloadCMake-c903b5319bfcf383964c625bb84d7bc958aba2e9.zip
CMake-c903b5319bfcf383964c625bb84d7bc958aba2e9.tar.gz
CMake-c903b5319bfcf383964c625bb84d7bc958aba2e9.tar.bz2
cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808)
Restore support for the undocumented <CONFIG>_LOCATION target property removed by commit v3.0.0-rc1~175^2 (cmTarget: Remove support for <CONFIG>_LOCATION property, 2013-12-30) as part of the CMP0026 OLD behavior.
Diffstat (limited to 'Help/policy')
-rw-r--r--Help/policy/CMP0026.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/policy/CMP0026.rst b/Help/policy/CMP0026.rst
index 460d2d1..177b655 100644
--- a/Help/policy/CMP0026.rst
+++ b/Help/policy/CMP0026.rst
@@ -3,7 +3,8 @@ CMP0026
Disallow use of the LOCATION target property.
-CMake 2.8.12 and lower allowed reading the LOCATION target property to
+CMake 2.8.12 and lower allowed reading the LOCATION target
+property (and configuration-specific variants) to
determine the eventual location of build targets. This relies on the
assumption that all necessary information is available at
configure-time to determine the final location and filename of the
@@ -17,8 +18,8 @@ $<TARGET_FILE> generator expression together with the file(GENERATE)
subcommand to generate a file containing the target location.
The OLD behavior for this policy is to allow reading the LOCATION
-property from build-targets. The NEW behavior for this policy is to
-not to allow reading the LOCATION property from build-targets.
+properties from build-targets. The NEW behavior for this policy is to
+not to allow reading the LOCATION properties from build-targets.
This policy was introduced in CMake version 3.0. CMake version
|release| warns when the policy is not set and uses OLD behavior. Use