alkis opened a new pull request, #42052: URL: https://github.com/apache/arrow/pull/42052
This generates the [JSON compilation database](http://clang.llvm.org/docs/JSONCompilationDatabase.html) so that clangd can find includes properly ### Rationale for this change This makes clangd always correct wtr to compiler flags/preprocessor flags which provides much better developer experience in all editors that support it. ### What changes are included in this PR? Instruct cmake to generate compile_commands.json by default. ### Are these changes tested? Manually on vscode running the clangd extension. ### Are there any user-facing changes? n/a -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
