Skip to content

Commit

Permalink
Win32 build script
Browse files Browse the repository at this point in the history
  • Loading branch information
stdgregwar committed Mar 26, 2017
1 parent 13dc8f4 commit 5a5ed28
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ moc_*.cpp
qrc_*.cpp
ui_*.h
Makefile*
*build-*
build-*

# QtCreator

Expand Down
22 changes: 22 additions & 0 deletions mxeBuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
mkdir -p build_win32
cd build_win32
echo "Running qmake..."
export PATH=$MXE/usr/bin:$PATH
$MXE/usr/i686-w64-mingw32.shared.posix/qt5/bin/qmake ..
echo "Starting full elve build using $MXE..."
make -j4
echo "copying all dll from build..."
cp $MXE/usr/i686-w64-mingw32.shared.posix/bin/*.dll Elve/
cp $MXE/usr/i686-w64-mingw32.shared.posix/qt5/bin/*.dll Elve/
cp -r $MXE/usr/i686-w64-mingw32.shared.posix/qt5/plugins/platforms Elve/
echo "copying elve core dll..."
cp Core/*.dll Elve
echo "cleaning build..."
cd Elve
rm -f *.h *.o *.cpp
cd ..
echo "zipping"
zip -r ElveWin32.zip Elve
echo "Done"

0 comments on commit 5a5ed28

Please sign in to comment.