mxe_build.sh - Rebuild everyth. when switching between debug and release

When switching between debug and release MXE build one needs to rebuild
everything.

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-04-01 16:40:50 +02:00 committed by Dirk Hohndel
parent 12c5a3db69
commit b5f203c888

View file

@ -113,9 +113,17 @@ if [[ "$1" == "debug" ]] ; then
RELEASE="Debug"
DLL_SUFFIX="d"
shift
if [[ -f Release ]] ; then
rm -rf *
fi
touch Debug
else
RELEASE="Release"
DLL_SUFFIX=""
if [[ -f Debug ]] ; then
rm -rf *
fi
touch Release
fi
# grantlee