summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-07-16 14:51:14 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-07-18 16:11:31 (GMT)
commitdca5df16c51dd9426f415ed7943402036e0ad08c (patch)
tree658b847663124c0321ba62f4436c4c604cde691c /Source/cmPolicies.h
parentec049641c46eb788b25713e5d96ff32c89f0e819 (diff)
downloadCMake-dca5df16c51dd9426f415ed7943402036e0ad08c.zip
CMake-dca5df16c51dd9426f415ed7943402036e0ad08c.tar.gz
CMake-dca5df16c51dd9426f415ed7943402036e0ad08c.tar.bz2
Autogen: Process GENERATED files. Add CMP0071.
This lets AUTOMOC and AUTOUIC process GENERATED files which used to be ignored before. A new policy CMP0071 ensures that the old behavior of ignoring GENERATED files is enabled when the CMake compatibility version CMAKE_MINIMUM_REQUIRED is < 3.10. Closes #16186
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 0a0178c..354011a 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -209,7 +209,9 @@ class cmMakefile;
cmPolicies::WARN) \
SELECT(POLICY, CMP0070, \
"Define file(GENERATE) behavior for relative paths.", 3, 10, 0, \
- cmPolicies::WARN)
+ cmPolicies::WARN) \
+ SELECT(POLICY, CMP0071, "Let AUTOMOC and AUTOUIC process GENERATED files.", \
+ 3, 10, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \