Add dev/cc (C/C++)
This commit is contained in:
parent
143c4a2bd5
commit
1589fd9df3
21
dev/cc/_init
Executable file
21
dev/cc/_init
Executable 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 "$@"
|
Loading…
Reference in a new issue