Add dev/cc (C/C++)

This commit is contained in:
Henrik Lissner 2018-03-23 16:04:43 -04:00
parent 143c4a2bd5
commit 1589fd9df3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

21
dev/cc/_init Executable file
View file

@ -0,0 +1,21 @@
#!/usr/bin/env zsh
source ${0:A:h}/../../deploy
install() {
wget -O $XDG_BIN_HOME/glslangValidator https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang/Install/Linux/glslangValidator
case $(_os) in
macos)
brew install cmake bear gdb
echo "Note: gdb requires additional setup on MacOS, see https://sourceware.org/gdb/wiki/BuildingOnDarwin"
;;
arch) pacaur --needed --noconfirm -S cmake bear gdb ;;
esac
}
# update() {}
# link() {}
# clean() {}
init "$@"