mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 03:48:02 +08:00
Revert "Help: Document JSON comment support in cmake-presets(7)"
Revert commit 8f1e607ed9
(Help: Document JSON comment support in
cmake-presets(7), 2021-02-18). The support for comments was a mistake
when the feature was implemented in 3.19, and is being removed.
This commit is contained in:
@@ -29,10 +29,7 @@ is using Git, ``CMakePresets.json`` may be tracked, and
|
||||
Format
|
||||
======
|
||||
|
||||
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:
|
||||
The files are a JSON document with an object as the root:
|
||||
|
||||
.. literalinclude:: presets/example.json
|
||||
:language: json
|
||||
|
Reference in New Issue
Block a user