Run cmake-ide-load-db after cmake configure,

instead of cmake-ide-run-cmake.
This commit is contained in:
tastytea 2019-09-30 12:02:22 +02:00
parent d55aefe618
commit 2fb7ce5eed
1 changed files with 2 additions and 1 deletions

View File

@ -327,7 +327,8 @@ With argument, do this that many times."
(defun my/configure-project (old-function &rest arguments)
"Runs `projectile-configure-project' followed by `cmake-ide-run-cmake'."
(apply old-function arguments)
(cmake-ide-run-cmake)
;; (cmake-ide-run-cmake)
(cmake-ide-load-db)
)
(advice-add 'projectile-configure-project :around #'my/configure-project)
:bind