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.