diff --git a/emacs/.spacemacs b/emacs/.spacemacs index 68ae60f..2050c18 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -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