Skip to content
Snippets Groups Projects
Commit 98ae0051 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'preset-json-comments' into release-3.20


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

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5830
parents af91c602 8f1e607e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment