Adds cmake-ide as a rudimentary spacemacs layer.
-
Install RTags and its dependencies as described here.
-
Clone this repo under ~/.emacs.d/private (or equivalent)
cd ~/.emacs.d/private git clone https://github.com/nagunn/spacemacs-cmake-ide.git
-
Edit your .spacemacs file and tell emacs where rtags.el is installed (this is required because RTags will install this file to site-lisp by default, but spacemacs normally removes these directories from the load-path).
(defun dotspacemacs/user-init () (push "/usr/local/share/emacs/site-lisp/rtags" load-path))
-
After installation, restart emacs and type
M-x irony-install-server
-
Navigate to a c++ source file and see if autocompletion and navigation are working.