Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
f345eb82
Commit
f345eb82
authored
Jan 30, 2017
by
AGULLO Emmanuel
Browse files
More on emacs/spacemacs auto-completion procedure
parent
2f329e1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
AUTOCOMPLETE.org
View file @
f345eb82
...
...
@@ -3,6 +3,13 @@
#+begin_src sh :results output :exports both
sudo aptitude install clang
#+end_src
** Installing cc_args.py
We assume ~/bin/ is in the PATH environment variable
#+begin_src sh :results output :exports both
cd ~/bin/
wget https://raw.githubusercontent.com/Rip-Rip/clang_complete/master/bin/cc_args.py
chmod +x cc_args.py
#+end_src
** Enabling c-c++ layer in spacemacs
Enable [[https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/c-c%2B%2B][c-c++ spacemacs layer]] with clang support:
#+begin_src emacs-lisp
...
...
@@ -24,7 +31,8 @@ spack load chameleon ; spack load cmake ; spack load fxt ; spack load openmpi ;
cd $CHAMELEON_DIR
mkdir spack-cc_args-build
cd spack-cc_args-build
CC='cc_args.py gcc'
CC='cc_args.py gcc' cmake ..
make
#+end_src
** Gathering the clang_complete information to the src directory
We now gather, sort and unify the .clang_complete information we obtained from
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment