浏览代码

Help: The fileSets item in a codemodel target object is optional

Craig Scott 5 月之前
父节点
当前提交
094436db98
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Help/manual/cmake-file-api.7.rst

+ 3 - 2
Help/manual/cmake-file-api.7.rst

@@ -1180,8 +1180,9 @@ with members:
     the ``backtraceGraph`` member's ``nodes`` array.
 
 ``fileSets``
-  A JSON array of entries corresponding to the target's file sets. Each entry
-  is a JSON object with members:
+  An optional member that is present when a target defines one or more
+  file sets.  The value is a JSON array of entries corresponding to the
+  target's file sets.  Each entry is a JSON object with members:
 
   ``name``
     A string specifying the name of the file set.