summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-19 23:05:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 22:52:23 (GMT)
commitd74bca5a8fee1d45c60b60a70a2a1a90abb74180 (patch)
tree434a3715b2c767d76eabb0a666b1f900c8ec953f /Source/cmPolicies.h
parentc6e86955086e1824cd666bc69c802d48074cc138 (diff)
downloadCMake-d74bca5a8fee1d45c60b60a70a2a1a90abb74180.zip
CMake-d74bca5a8fee1d45c60b60a70a2a1a90abb74180.tar.gz
CMake-d74bca5a8fee1d45c60b60a70a2a1a90abb74180.tar.bz2
cmGeneratorTarget: Copy the policy map from the cmTarget.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index a549d18..5023055 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -230,6 +230,23 @@ class cmPolicy;
#define CM_FOR_EACH_POLICY_ID(POLICY) \
CM_FOR_EACH_POLICY_TABLE(POLICY, CM_SELECT_ID)
+#define CM_FOR_EACH_TARGET_POLICY(F) \
+ F(CMP0003) \
+ F(CMP0004) \
+ F(CMP0008) \
+ F(CMP0020) \
+ F(CMP0021) \
+ F(CMP0022) \
+ F(CMP0027) \
+ F(CMP0038) \
+ F(CMP0041) \
+ F(CMP0042) \
+ F(CMP0046) \
+ F(CMP0052) \
+ F(CMP0060) \
+ F(CMP0063) \
+ F(CMP0065)
+
/** \class cmPolicies
* \brief Handles changes in CMake behavior and policies