diff options
author | Brad King <brad.king@kitware.com> | 2010-04-23 09:50:31 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-04-23 09:50:31 -0400 |
commit | e49b6eca4f5857bcf7bfc08e34d0797a3400bcf2 (patch) | |
tree | 2f59c510e9c8b08cba07a0ad6643aae4b2f2277b /Source/cmCMakePolicyCommand.h | |
parent | 378acb1d4d280bdfba45d8c524e55e4b6714255d (diff) | |
download | cmake-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.h | 2 |
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 " |