CMP0106¶
在 3.18 版本中新增。
The Documentation 模块已被移除。
The Documentation 模块最初是为了支持 VTK 项目而添加的,并且是为该项目定制的。CMake 不再提供这个带有(现在已过时)VTK 模式的缓存变量和所需包的模块,该模块现在已被 CMake 本身弃用。
The OLD behavior of this policy is for Documentation to add cache variables and find VTK documentation dependent packages. The NEW behavior is to act as an empty module.
此策略在 CMake 版本 3.18 中引入。它可以通过 cmake_policy() 或 cmake_minimum_required() 来设置。如果未设置,CMake 会发出警告并使用 OLD 行为。
注意
策略的 OLD 行为 根据定义已被弃用,并可能在未来的 CMake 版本中被移除。