--list-presets error message unhelpful
When CMake doesn't like the format of a CMakePresets.json
, it outputs an extremely unhelpful error message:
$ cmake .. --trace --debug-output --list-presets
Running with trace output on.
Running with debug output on.
CMake Error: Could not read presets from /home/antoine/arrow/dev/cpp: Invalid preset
Finding the problem and correcting it is basically a random search problem.