Run cmake-ide-load-db after cmake configure,
instead of cmake-ide-run-cmake.
This commit is contained in:
parent
d55aefe618
commit
2fb7ce5eed
3
init.el
3
init.el
|
@ -327,7 +327,8 @@ With argument, do this that many times."
|
||||||
(defun my/configure-project (old-function &rest arguments)
|
(defun my/configure-project (old-function &rest arguments)
|
||||||
"Runs `projectile-configure-project' followed by `cmake-ide-run-cmake'."
|
"Runs `projectile-configure-project' followed by `cmake-ide-run-cmake'."
|
||||||
(apply old-function arguments)
|
(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)
|
(advice-add 'projectile-configure-project :around #'my/configure-project)
|
||||||
:bind
|
:bind
|
||||||
|
|
Loading…
Reference in New Issue
Block a user