Add generation of compile_commands.json to cmake-ide
This commit is contained in:
parent
4d5808eb58
commit
719c92104f
|
@ -56,14 +56,15 @@ This function should only modify configuration layer settings."
|
|||
;; spell-checking
|
||||
syntax-checking
|
||||
;; version-control
|
||||
(cmake :variables cmake-enable-cmake-ide-support t)
|
||||
(cmake :variables
|
||||
cmake-enable-cmake-ide-support t
|
||||
cmake-compile-command "cmake -H. -BDebug -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=YES; ln -s Debug/compile_commands.json .; cmake .")
|
||||
(c-c++ :variables
|
||||
c-c++-default-mode-for-headers 'c++-mode
|
||||
c-c++-backend 'lsp-ccls)
|
||||
java
|
||||
shell-scripts
|
||||
spacemacs-layouts
|
||||
;debug
|
||||
dap
|
||||
spacemacs-project
|
||||
(python :variables
|
||||
|
|
Loading…
Reference in New Issue