tsMuxer/scripts/rebuild_mxe_with_gui_docker.sh

22 lines
523 B
Bash
Executable File

export PATH=/usr/lib/mxe/usr/bin:$PATH
rm -rf build
mkdir build
cd build
export CCACHE_DISABLE=1
export MXE_USE_CCACHE=
x86_64-w64-mingw32.static-cmake ../
make
cp tsMuxer/tsmuxer.exe ../bin/tsMuxeR.exe
x86_64-w64-mingw32.static-qmake-qt5 ../tsMuxerGUI
make
cp ./tsMuxerGUI.exe ../bin/
cd ..
rm -rf build
mkdir ./bin/w64
mv ./bin/tsMuxeR.exe ./bin/w64/tsMuxeR.exe
mv ./bin/tsMuxerGUI.exe ./bin/w64/tsMuxerGUI.exe
zip -jr ./bin/w64.zip ./bin/w64
ls ./bin/w64/tsMuxeR.exe && ls ./bin/w64/tsMuxerGUI.exe && ls ./bin/w64.zip