Blame dev-build.sh

833ed7
#!/bin/bash
833ed7
833ed7
set -e
833ed7
9c0711
OPT=
9c0711
#OPT="$OPT WITH_FULL_UNICODE_FONT=1"
9c0711
d4e89f
if [ "$2" == "clean" ]; then
9c0711
	scons PREFIX=$1 DEBUG=1 $OPT -c
9c0711
	scons PREFIX=$1-release $OPT BUILD_DIR=build-release -c
d4e89f
	cd demo
d4e89f
	scons -c
d4e89f
else
9c0711
	scons PREFIX=$1 DEBUG=1 $OPT install
9c0711
	scons PREFIX=$1-release $OPT BUILD_DIR=build-release install
d4e89f
	cd demo
d4e89f
	scons
d4e89f
fi