补全 CMake 代码
Qt Creator 使用通用高亮功能,为 CMake 命令提供特定的代码补全参数。例如,对于CMake: set_source_files_properties 命令,仅会建议源文件属性,而不会建议测试或目标属性。
支持以下 CMake 专用的触发标记:
$针对变量$<用于生成器表达式$ENV用于环境变量
按Tab或Enter键即可接受所选建议并完成代码。
另请参阅 《如何使用 CMake 进行构建》、《 CMake》、《代码补全》和《代码片段》。
Copyright © The Qt Company Ltd. and other contributors. 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.