mirror of https://github.com/Kitware/CMake.git
Browse Source
trace: Add JSON output format
trace: Add JSON output format
Add a new `--trace-format=` flag, to enable the new JSON trace output format. This new format is easier to parse by machines than the existing format. This new format also removes the ambiguity of the whitespace in the "old" format (e.g. is that whitespace part of a file path, or does it seperate arguments)pull/332/head

No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
6 changed files with 196 additions and 9 deletions
-
60Help/manual/cmake.1.rst
-
7Help/release/dev/json_trace.rst
-
47Source/cmMakefile.cxx
-
73Source/cmake.cxx
-
17Source/cmake.h
-
1Source/cmakemain.cxx
@ -0,0 +1,7 @@ |
|||
json-trace |
|||
---------- |
|||
|
|||
* :manual:`cmake(1)` gained a ``--trace-format`` command line option that |
|||
can be used to set the ``--trace`` output format. Currently, the old |
|||
human readable and the new JSON format are supported. The new JSON format |
|||
is easier to parse automatically, than the existing format. |
Write
Preview
Loading…
Cancel
Save
Reference in new issue