Last active
April 1, 2021 05:27
-
-
Save tykurtz/d53670e0142b92d49b364af41b45a119 to your computer and use it in GitHub Desktop.
Dev environment setup for spacemacs with c++ dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install spacemacs | |
sudo apt install -y emacs tmux git | |
git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d | |
wget -O ~/.spacemacs https://gist.githubusercontent.com/tykurtz/41c6d7b0930b9f8b107265ab895114a4/raw/0eb1074ec368cd977d33a0de3b5b076dd6ea3a83/.spacemacs | |
# Install ccls | |
sudo apt install -y libllvm8 llvm-8-dev libclang-8-dev clang-8 ninja-build | |
mkdir ~/source_builds | |
cd ~/source_builds | |
git clone --depth=1 --recursive https://github.com/MaskRay/ccls | |
cd ccls | |
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -G Ninja | |
sudo cmake --build Release --target install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment