mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue