Browse Source

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

Craig Scott 4 months ago
parent
commit
094436db98
1 changed files with 3 additions and 2 deletions
  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.