#!/usr/bin/env bash
+[ -z "$QCCFLAGS_WATERMARK" ] && export QCCFLAGS_WATERMARK=$(git describe --tags --dirty='~')
set -eu
cd ${0%/*}
declare -a QCCDEFS=(
-DNDEBUG=1
-DXONOTIC=1
- -DWATERMARK="\"$(git describe --tags --dirty='~')\""
+ -DWATERMARK="\"$QCCFLAGS_WATERMARK\""
-DENABLE_EFFECTINFO=0
-DENABLE_DEBUGDRAW=0
-DENABLE_DEBUGTRACE=0