mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
12c5a3db69
commit
b5f203c888
1 changed files with 8 additions and 0 deletions
|
@ -113,9 +113,17 @@ if [[ "$1" == "debug" ]] ; then
|
||||||
RELEASE="Debug"
|
RELEASE="Debug"
|
||||||
DLL_SUFFIX="d"
|
DLL_SUFFIX="d"
|
||||||
shift
|
shift
|
||||||
|
if [[ -f Release ]] ; then
|
||||||
|
rm -rf *
|
||||||
|
fi
|
||||||
|
touch Debug
|
||||||
else
|
else
|
||||||
RELEASE="Release"
|
RELEASE="Release"
|
||||||
DLL_SUFFIX=""
|
DLL_SUFFIX=""
|
||||||
|
if [[ -f Debug ]] ; then
|
||||||
|
rm -rf *
|
||||||
|
fi
|
||||||
|
touch Release
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# grantlee
|
# grantlee
|
||||||
|
|
Loading…
Add table
Reference in a new issue