describe using rtags-install
This commit is contained in:
parent
d41907ac77
commit
2666caad79
29
init.el
29
init.el
@ -416,28 +416,13 @@ Argument FRAMES has the same meaning as for `set-frame-font'"
|
|||||||
;;; `libclang` library (package `libclang-dev` or may be newer
|
;;; `libclang` library (package `libclang-dev` or may be newer
|
||||||
;;; `libclang-X.Y-dev` under Debian) which is required by `rtags`.
|
;;; `libclang-X.Y-dev` under Debian) which is required by `rtags`.
|
||||||
|
|
||||||
;;; 2. Install `rtags` server with (it assumes first that you do have
|
;;; 2. Under Emacs having `rtags` package installed press `M-:` and
|
||||||
;;; `llvm-config-3.8` instead of `llvm-config` thus the extra option is
|
;;; evaluate expression `(require 'rtags)` and then press `M-x` and
|
||||||
;;; needed and second that you want to install it in `/opt/rtags`
|
;;; run command `rtags-install` (should work if you have
|
||||||
;;; instead of default `/usr/local`):
|
;;; `llvm-config` in your path) and wait until it compiles to 100%.
|
||||||
|
;;; The `rtags-install` command needs to be rerun if you install
|
||||||
;;; ```
|
;;; newer `rtags` from MELPA and the below commands do not work
|
||||||
;;; $ git clone --recursive https://github.com/Andersbakken/rtags.git
|
;;; complaining about protocol mismatch.
|
||||||
;;; $ cd rtags
|
|
||||||
;;; $ mkdir build
|
|
||||||
;;; $ cd build
|
|
||||||
;;; $ cmake -DLIBCLANG_LLVM_CONFIG_EXECUTABLE=llvm-config-3.8 \
|
|
||||||
;;; -DCMAKE_INSTALL_PREFIX=/opt/rtags ..
|
|
||||||
;;; $ make
|
|
||||||
;;; ```
|
|
||||||
|
|
||||||
;;; And as root
|
|
||||||
|
|
||||||
;;; ```
|
|
||||||
;;; # make install
|
|
||||||
;;; # ln -s /opt/rtags/bin/rc /usr/local/bin/rc
|
|
||||||
;;; # ln -s /opt/rtags/bin/rdm /usr/local/bin/rdm
|
|
||||||
;;; ```
|
|
||||||
|
|
||||||
;;; 3. Usefull `rtags` functions (use `C-c r C-h` to see these and other key bindings)
|
;;; 3. Usefull `rtags` functions (use `C-c r C-h` to see these and other key bindings)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user