
This improves the output of JSON-related error messages. It adds the filename to the output and excludes the column number. This is particularly useful when there are multiple JSON files being read that could be responsible for an error, ie CMakePresets.json and CMakeUserPresets.json, or multiple instrumentation queries. Issue: #26717
6 lines
229 B
Plaintext
6 lines
229 B
Plaintext
^CMake Error: Could not read presets from [^
|
|
]*/Tests/RunCMake/CMakePresets/MinimumRequiredPatch:
|
|
CMakePresets.json:6: "cmakeMinimumRequired" patch version 50000000 must be less than [0-9]*
|
|
"patch": 50000000
|
|
\^$
|