remove remnants of previous build attempts

This commit is contained in:
Fabian Greffrath 2022-02-07 10:20:59 +01:00
parent b755013f62
commit 660bd42d2b

View File

@ -1,6 +1,6 @@
#!/bin/sh
if [ "$ANALYZE" = "true" ] ; then
cppcheck --error-exitcode=1 -j2 -DRANGECHECK -iSource/win_opendir.c -ISource Source toolsrc 2> stderr.txt
cppcheck --error-exitcode=1 -j2 -DRANGECHECK -ISource Source toolsrc 2> stderr.txt
RET=$?
if [ -s stderr.txt ]
then
@ -10,6 +10,7 @@ if [ "$ANALYZE" = "true" ] ; then
else
set -e
export VERBOSE=1
rm -rf CMakeCache.txt CMakeFiles/
mkdir build && cd build
cmake -G "Unix Makefiles" "$CROSSRULE" .. -DENABLE_WERROR=ON
make