mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-27 04:09:36 +03:00
Help: Document JSON comment support in cmake-presets(7)
This commit is contained in:
committed by
Brad King
parent
94408da2a7
commit
8f1e607ed9
@@ -29,7 +29,10 @@ is using Git, ``CMakePresets.json`` may be tracked, and
|
||||
Format
|
||||
======
|
||||
|
||||
The files are a JSON document with an object as the root:
|
||||
The files are JSON documents. C-style comments are allowed using
|
||||
line-wise ``//`` syntax or block ``/*...*/`` syntax.
|
||||
|
||||
Each document has an object as the root:
|
||||
|
||||
.. literalinclude:: presets/example.json
|
||||
:language: json
|
||||
|
||||
Reference in New Issue
Block a user