better errors and cleanp

This commit is contained in:
Felix Brendel
2019-10-20 16:36:57 +02:00
parent 1d6b9165dd
commit 0d77893a90
40 changed files with 511 additions and 884792 deletions
+22 -3
View File
@@ -2,10 +2,29 @@ TIMEFORMAT=%3lR
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
pushd $SCRIPTPATH > /dev/null
# _DEBUG
echo ""
echo "----------------------"
echo " compiling libslime "
echo "----------------------"
echo ""
time clang++ --std=c++17 \
src/libslime.cpp -c -o libslime.o \
-I3rd/ || exit 1
echo ""
echo "----------------------"
echo " compiling fullslime "
echo "----------------------"
echo ""
# time g++ -fpermissive src/main.cpp -g -o ./bin/slime --std=c++17 || exit 1
time clang++ -D_DEBUG -D_PROFILING -D_DONT_BREAK_ON_ERRORS src/main.cpp -g -o ./bin/slime --std=c++17 || exit 1
# time clang++ -O3 -D_DONT_BREAK_ON_ERRORS src/main.cpp -g -o ./bin/slime --std=c++17 || exit 1
time clang++ -D_DEBUG -D_PROFILING -D_DONT_BREAK_ON_ERRORS \
src/main.cpp -g -o ./bin/slime --std=c++17 \
-I3rd/ || exit 1
# time clang++ -O3 -D_DONT_BREAK_ON_ERRORS \
# src/main.cpp -g -o ./bin/slime --std=c++17 \
# -I3rd/ || exit 1
echo ""
pushd ./bin > /dev/null