CMake Text Snippets

/qtbase/doc/global/macros.qdocconf for standard text snippets that you should use when writing Qt-specific CMake documentation :

Macro 使用
\cmakecommandandroidonly For Android targets
\cmakecommandsince To indicate which Qt version introduced the command
\cmakepropertyandroidonly For Android targets
\cmakepropertyiosonly For iOS targets
\cmakepropertysince To indicate which Qt version introduced the property
\cmakepropertywebassemblyonly For WebAssembly targets
\cmakevariableandroidonly For Android targets
\cmakevariableiosonly For iOS targets
\cmakevariablesince To indicate which Qt version introduced the variable
\preliminarycmakecommand To indicate that the command may change in future versions
\preliminarycmakeproperty To indicate that the property may change in future versions
\preliminarycmakevariable To indicate that the variable may change in future versions
\versionlessCMakeCommandsNote For all commands, to tell users how to use versioned commands

另请参阅 macro and .

HTML and DocBook Formatting