完成 CMake 代码
Qt Creator 使用通用高亮为 CMake 命令提供代码自动补全参数。例如,CMake: set_source_files_properties 命令只建议使用源文件属性,而不建议使用测试或目标属性。
支持以下 CMake 特定的触发标记:
$
for 变量$<
生成器表达式$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.