diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-04-01 16:40:50 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-04-01 08:08:16 -0700 |
commit | b5f203c88870fafe141be51099ed00e3ddd25451 (patch) | |
tree | 73cbc7c82f3c98fe68cf13b485d11e2749147ef2 | |
parent | 12c5a3db691e787bda22b48545080acca0506213 (diff) | |
download | subsurface-b5f203c88870fafe141be51099ed00e3ddd25451.tar.gz |
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>
-rwxr-xr-x | packaging/windows/mxe-based-build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh index a6d6a1930..2c10d4474 100755 --- a/packaging/windows/mxe-based-build.sh +++ b/packaging/windows/mxe-based-build.sh @@ -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 |