summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-04-23 13:50:31 (GMT)
committerBrad King <brad.king@kitware.com>2010-04-23 13:50:31 (GMT)
commite49b6eca4f5857bcf7bfc08e34d0797a3400bcf2 (patch)
tree2f59c510e9c8b08cba07a0ad6643aae4b2f2277b /Source/cmPolicies.h
parent378acb1d4d280bdfba45d8c524e55e4b6714255d (diff)
downloadCMake-e49b6eca4f5857bcf7bfc08e34d0797a3400bcf2.zip
CMake-e49b6eca4f5857bcf7bfc08e34d0797a3400bcf2.tar.gz
CMake-e49b6eca4f5857bcf7bfc08e34d0797a3400bcf2.tar.bz2
Teach CMake Policies about tweak version component
Add the [.tweak] version component throughout the policy implementation. Document all components for the cmake_policy(VERSION) command. Record the tweak level in which each policy was introduced (0 for all current policies). In generated documentation we report the tweak level only if it is not zero. This preserves existing documentation.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index aaa3ac0..23064dc 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -72,6 +72,7 @@ public:
unsigned int majorVersionIntroduced,
unsigned int minorVersionIntroduced,
unsigned int patchVersionIntroduced,
+ unsigned int tweakVersionIntroduced,
cmPolicies::PolicyStatus status);
///! Set a policy level for this listfile