summaryrefslogtreecommitdiff
path: root/Source/cmCMakePolicyCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-04-23 09:50:31 -0400
committerBrad King <brad.king@kitware.com>2010-04-23 09:50:31 -0400
commite49b6eca4f5857bcf7bfc08e34d0797a3400bcf2 (patch)
tree2f59c510e9c8b08cba07a0ad6643aae4b2f2277b /Source/cmCMakePolicyCommand.h
parent378acb1d4d280bdfba45d8c524e55e4b6714255d (diff)
downloadcmake-e49b6eca4f5857bcf7bfc08e34d0797a3400bcf2.tar.gz
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/cmCMakePolicyCommand.h')
-rw-r--r--Source/cmCMakePolicyCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCMakePolicyCommand.h b/Source/cmCMakePolicyCommand.h
index ffd0f44e82..b3268654bc 100644
--- a/Source/cmCMakePolicyCommand.h
+++ b/Source/cmCMakePolicyCommand.h
@@ -80,7 +80,7 @@ public:
"behavior. "
"While setting policies individually is supported, we encourage "
"projects to set policies based on CMake versions.\n"
- " cmake_policy(VERSION major.minor[.patch])\n"
+ " cmake_policy(VERSION major.minor[.patch[.tweak]])\n"
"Specify that the current CMake list file is written for the "
"given version of CMake. "
"All policies introduced in the specified version or earlier "