mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
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.
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user