This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-0.15 in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 0faff631a12a3c24a2151e851a403ed7b214b47c Author: flynn <fengl...@mails.ucas.ac.cn> AuthorDate: Tue Nov 2 16:36:35 2021 +0800 [Build] Generate compile_command.json (#6976) Set cmake to generate compile_commands.json, which is useful for lsp like clangd, cquery, et. --- be/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt index d8ac46d..9c3631c 100644 --- a/be/CMakeLists.txt +++ b/be/CMakeLists.txt @@ -28,6 +28,8 @@ endif() project(doris CXX C) +# Write compile_commands.json +set(CMAKE_EXPORT_COMPILE_COMMANDS 1) # set platforms if (CMAKE_SYSTEM_PROCESSOR MATCHES "amd64|x86_64") --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org