Commit 8f1e607e authored by Michael Hirsch's avatar Michael Hirsch Committed by Brad King

Help: Document JSON comment support in cmake-presets(7)

parent 94408da2
Pipeline #214908 waiting for manual action with stages
in 6 minutes and 39 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment