Files
eepp/projects/mingw32/make.sh
Martín Lucas Golini 11b3cfc1f4 Added Window::getScale() to get the device scale factor.
mingw32 build now uses premake5.

--HG--
branch : dev
2019-06-19 23:46:17 -03:00

25 lines
498 B
Bash
Executable File

#!/bin/sh
cd $(dirname "$0")
premake5 --file=../../premake5.lua --os=windows gmake2
cd ../../make/windows/
mingw32-make $@
case "$OSTYPE" in
darwin*|linux*|freebsd*)
cd ../../bin/
ln -sf ../libs/windows/eepp.dll eepp.dll
ln -sf ../libs/windows/eepp-debug.dll eepp-debug.dll
;;
cygwin*|win*)
cd ../../libs/windows/
if [ -f eepp.dll ]; then
cp -f eepp.dll ../../bin/eepp.dll
fi
if [ -f eepp-debug.dll ]; then
cp -f eepp-debug.dll ../../bin/eepp-debug.dll
fi
;;
esac