CMake テキストスニペット
Qt固有のCMakeドキュメントを書くときに使うべき標準的なテキストスニペットについては、/qtbase/doc/global/macros.qdocconfを参照してください:
| マクロ | 使う |
|---|---|
| \cmakecommandandroidonly | Android ターゲットの場合 |
| \cmakecommandsince | どの Qt バージョンがコマンドを導入したかを示す |
| \cmakepropertyandroidonly | Android ターゲットの場合 |
| \cmakepropertyiosonly | iOS ターゲットの場合 |
| \cmakepropertysince | どの Qt バージョンがプロパティを導入したかを示す |
| \cmakepropertywebassemblyonly | WebAssembly ターゲットの場合 |
| \cmakevariableandroidonly | Android ターゲットの場合 |
| \cmakevariableiosonly | iOS ターゲットの場合 |
| \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.