22 lines
519 B
Bash
Executable File
22 lines
519 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=
|
|
i686-w64-mingw32.static-cmake ../
|
|
make
|
|
cp tsMuxer/tsmuxer.exe ../bin/tsMuxeR.exe
|
|
|
|
i686-w64-mingw32.static-qmake-qt5 ../tsMuxerGUI
|
|
make
|
|
cp ./tsMuxerGUI.exe ../bin/
|
|
cd ..
|
|
rm -rf build
|
|
|
|
mkdir ./bin/w32
|
|
mv ./bin/tsMuxeR.exe ./bin/w32/tsMuxeR.exe
|
|
mv ./bin/tsMuxerGUI.exe ./bin/w32/tsMuxerGUI.exe
|
|
zip -jr ./bin/w32.zip ./bin/w32
|
|
ls ./bin/w32/tsMuxeR.exe && ls ./bin/w32/tsMuxerGUI.exe && ls ./bin/w32.zip
|