|
22 | 22 | "assets/commands.json.build_name": "自版本 3.0 起禁用。请参阅 CMake 策略 CMP0036。", |
23 | 23 | "assets/commands.json.cmake_file_api": "启用与 CMake 文件 API <cmake-file-api(7)> 的交互。", |
24 | 24 | "assets/commands.json.cmake_host_system_information": "查询各种主机系统信息。", |
| 25 | + "assets/commands.json.cmake_instrumentation": "Enables interacting with the CMake Instrumentation API <cmake-instrumentation(7)>.", |
25 | 26 | "assets/commands.json.cmake_language": "对 CMake 命令调用 meta 操作。", |
26 | 27 | "assets/commands.json.cmake_minimum_required": "需要最低版本的 cmake。", |
27 | 28 | "assets/commands.json.cmake_parse_arguments": "分析函数或宏参数。", |
28 | 29 | "assets/commands.json.cmake_path": "此命令用于处理路径。仅处理路径的语法方面,与任何基础文件系统均不存在任何类型的交互。路径可能表示不存在的路径,甚至可能表示当前文件系统或平台上不允许存在的路径。有关与文件系统进行交互的操作,请参阅文件命令。", |
| 30 | + "assets/commands.json.cmake_pkg_config": "Process pkg-config format package files.", |
29 | 31 | "assets/commands.json.cmake_policy": "管理 CMake 策略设置。请参阅 cmake-policies 手册了解定义的策略。", |
30 | 32 | "assets/commands.json.configure_file": "将文件复制到其他位置并修改其内容。", |
31 | 33 | "assets/commands.json.continue": "继续转至封闭 foreach 或 while 循环的顶部。", |
|
47 | 49 | "assets/commands.json.else": "启动 if 块的 else 部分。", |
48 | 50 | "assets/commands.json.elseif": "启动 if 块的 elseif 部分。", |
49 | 51 | "assets/commands.json.enable_language": "启用语言(CXX/C/OBJC/OBJCXX/Fortran/etc)", |
50 | | - "assets/commands.json.enable_testing": "启用对当前目录和以下目录的测试。", |
| 52 | + "assets/commands.json.enable_testing": "Enables testing for the current directory and below:", |
51 | 53 | "assets/commands.json.endblock": "结束块中的命令列表,并移除由块命令创建的作用域。", |
52 | 54 | "assets/commands.json.endforeach": "结束 foreach 块中的命令列表。", |
53 | 55 | "assets/commands.json.endfunction": "结束函数块中的命令列表。", |
54 | 56 | "assets/commands.json.endif": "结束 if 块中的命令列表。", |
55 | 57 | "assets/commands.json.endmacro": "结束宏块中的命令列表。", |
56 | 58 | "assets/commands.json.endwhile": "结束 while 块中的命令列表。", |
57 | 59 | "assets/commands.json.execute_process": "执行一个或多个子进程。", |
58 | | - "assets/commands.json.exec_program": "在处理 CMakeList.txt 文件的过程中运行可执行程序。", |
| 60 | + "assets/commands.json.exec_program": "Runs an executable program during the processing of a CMake file or script:", |
59 | 61 | "assets/commands.json.export": "导出外部项目的目标或包以直接从当前项目的生成树中使用它们,无需进行安装。", |
60 | 62 | "assets/commands.json.export_library_dependencies": "自版本 3.0 起禁用。请参阅 CMake 策略 CMP0033。", |
61 | 63 | "assets/commands.json.file": "文件操作命令。", |
|
77 | 79 | "assets/commands.json.if": "有条件地执行一组命令。", |
78 | 80 | "assets/commands.json.include": "从文件或模块加载和运行 CMake 代码。", |
79 | 81 | "assets/commands.json.include_directories": "向生成添加包含目录。", |
80 | | - "assets/commands.json.include_external_msproject": "在工作区中包括外部 Microsoft 项目文件。", |
| 82 | + "assets/commands.json.include_external_msproject": "Include an external Microsoft project file in the solution file produced by Visual Studio Generators. Ignored on other generators.", |
81 | 83 | "assets/commands.json.include_guard": "为 CMake 当前处理的文件提供包含防护。", |
82 | 84 | "assets/commands.json.include_regular_expression": "设置用于依赖项检查的正则表达式。", |
83 | 85 | "assets/commands.json.install": "指定要在安装时运行的规则。", |
|
87 | 89 | "assets/commands.json.link_directories": "添加链接器将在其中查找库的目录。", |
88 | 90 | "assets/commands.json.link_libraries": "将库链接到以后添加的所有目标。", |
89 | 91 | "assets/commands.json.list": "对分号分隔列表的操作。", |
90 | | - "assets/commands.json.load_cache": "从另一个项目的 CMake 缓存中加载这些值。", |
| 92 | + "assets/commands.json.load_cache": "Load in the values from another project's CMakeCache.txt cache file. This is useful for projects that depend on another project built in a separate directory tree.", |
91 | 93 | "assets/commands.json.load_command": "自版本 3.0 起禁用。请参阅 CMake 策略 CMP0031。", |
92 | 94 | "assets/commands.json.macro": "开始录制宏,以备以后作为命令调用", |
93 | 95 | "assets/commands.json.make_directory": "创建指定的目录。应提供完整路径。还将创建尚不存在的任何父目录。请谨慎使用。", |
|
100 | 102 | "assets/commands.json.qt_wrap_cpp": "手动创建 Qt 包装器。", |
101 | 103 | "assets/commands.json.qt_wrap_ui": "手动创建 Qt 用户界面包装器。", |
102 | 104 | "assets/commands.json.remove": "从变量 VAR 中删除值。这通常用于从矢量(例如以分号分隔的列表)中移除项。值已扩充。", |
103 | | - "assets/commands.json.remove_definitions": "移除由 add_definitions 添加的 -D 定义标志。", |
| 105 | + "assets/commands.json.remove_definitions": "Removes compile definitions added by add_compile_definitions, or add_definitions:", |
104 | 106 | "assets/commands.json.return": "从文件、目录或函数中返回。", |
105 | 107 | "assets/commands.json.separate_arguments": "将命令行参数解析为以分号分隔的列表。", |
106 | 108 | "assets/commands.json.set": "将普通、缓存或环境变量设为给定的值。请参阅 cmake-language(7) 变量文档,了解普通变量和缓存条目的作用域和交互。", |
|
0 commit comments