summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorDeniz Bahadir <dbahadir@benocs.com>2020-11-17 20:30:53 +0100
committerDeniz Bahadir <dbahadir@benocs.com>2020-11-24 17:41:02 +0100
commit0eb30f175e61a013db301ab1be242dd497be4add (patch)
tree854de71ab9e1ddd614b2406a59d96027c2a553f6 /Source
parent78c8d956050834dbbce78fb0e3f5f42dd2253fd9 (diff)
downloadcmake-0eb30f175e61a013db301ab1be242dd497be4add.tar.gz
GENERATED prop: Introducing policy CMP0118 and its documentation
Note: This is currently only defining the CMP0118 policy and providing its documentation, however, the implementation is still not using it.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmPolicies.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 30cd4b702c..646e2262df 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -348,7 +348,11 @@ class cmMakefile;
20, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0117, \
"MSVC RTTI flag /GR is not added to CMAKE_CXX_FLAGS by default.", 3, \
- 20, 0, cmPolicies::WARN)
+ 20, 0, cmPolicies::WARN) \
+ SELECT( \
+ POLICY, CMP0118, \
+ "The GENERATED source file property is now visible in all directories.", \
+ 3, 20, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \