diff options
Diffstat (limited to 'nightly/buildwindows.sh')
-rwxr-xr-x | nightly/buildwindows.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nightly/buildwindows.sh b/nightly/buildwindows.sh new file mode 100755 index 000000000..ede9f0f04 --- /dev/null +++ b/nightly/buildwindows.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +dir=`pwd` + +cd .. +export PATH=/usr/i586-mingw32msvc/bin:$PATH +CXXFLAGS="-Wall -g0 -O2" cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.nightly . + +make -j5 2>make.log + +cd ./packaging/windows +./make-translations.sh +makensis -DDLLDIR=$dir/../packaging/windows/libs/dll/ \ + -DPRODUCT_VERSION="nightly-$1" \ + -DEXESUFFIX=/src \ + -DUPX=true \ + setup.nsi + |