CMake テキストスニペット

Qt固有のCMakeドキュメントを書くときに使うべき標準的なテキストスニペットについては、/qtbase/doc/global/macros.qdocconfを参照してください:

マクロ使う
\cmakecommandandroidonlyAndroid ターゲットの場合
\cmakecommandsinceどの Qt バージョンがコマンドを導入したかを示す
\cmakepropertyandroidonlyAndroid ターゲットの場合
\cmakepropertyiosonlyiOS ターゲットの場合
\cmakepropertysinceどの Qt バージョンがプロパティを導入したかを示す
\cmakepropertywebassemblyonlyWebAssembly ターゲットの場合
\cmakevariableandroidonlyAndroid ターゲットの場合
\cmakevariableiosonlyiOS ターゲットの場合
\cmakevariablesinceどの Qt バージョンが変数を導入したかを示す
\preliminarycmakecommandコマンドは将来のバージョンで変更される可能性があります。
\preliminarycmakeproperty将来のバージョンでプロパティが変更される可能性があることを示します。
\preliminarycmakevariable将来のバージョンで変数が変更される可能性があることを示します。
\versionlessCMakeCommandsNoteすべてのコマンドについて、バージョン管理されたコマンドの使用方法をユーザーに伝える。

マクロと マクロも参照してください

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.