Introduce macro.qtpolicydeprecatedbehavior for Qt CMake Policy
Added a template that we can use instead of rewriting the message for every policy. Pick-to: 6.6 Change-Id: I13cc182244d5f092e3d5677664bc149c6b126da5 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
1ca71cbff0
commit
8b4dbce54e
@ -133,3 +133,5 @@ macro.cmakepropertywebassemblyonly = "\\note This property is used only if targe
|
||||
|
||||
macro.cmakepropertyiosonly = "\\note This property is used only if targeting iOS."
|
||||
macro.cmakevariableiosonly = "\\note This variable is used only if targeting iOS."
|
||||
|
||||
macro.qtpolicydeprecatedbehavior = "\\note The \\c{OLD} behavior of a policy is deprecated, and may be removed in the future."
|
||||
|
@ -56,8 +56,7 @@ set_target_properties(
|
||||
)
|
||||
\endcode
|
||||
|
||||
\note The \c{OLD} behavior of a policy is deprecated, and may
|
||||
be removed in the future.
|
||||
\qtpolicydeprecatedbehavior
|
||||
|
||||
\sa qt_policy, {Qt CMake policies}
|
||||
|
||||
|
@ -58,8 +58,7 @@ You can set \c behavior to one of the following options:
|
||||
\li \c{OLD} to explicitly opt-out of it
|
||||
\endlist
|
||||
|
||||
\note The \c{OLD} behavior of a policy is deprecated, and may
|
||||
be removed in the future.
|
||||
\qtpolicydeprecatedbehavior
|
||||
|
||||
\sa qt_standard_project_setup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user