From 1589fd9df3960c173ea725cdb4dc1e554e95ef9f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 23 Mar 2018 16:04:43 -0400 Subject: [PATCH] Add dev/cc (C/C++) --- dev/cc/_init | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 dev/cc/_init diff --git a/dev/cc/_init b/dev/cc/_init new file mode 100755 index 00000000..75176e76 --- /dev/null +++ b/dev/cc/_init @@ -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 "$@"