Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-36124: [C++] Export compile_commands.json by default (apache…
…#37426) `CMakePresets.json` does not export `compile_commands.json` by default, which is used by all clang tooling. Adding it as a default ensures that new developers (or any others who forget to specifically specify the option) will still be able to use their language servers without regenerating the cmake build dir. The relevant option is `"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"`, and causes generation of a ~1MB file at build time. * Closes: apache#36124 Authored-by: Benjamin Kietzman <bengilgit@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information