2016-12-22 18:44:54 -05:00
|
|
|
#!/bin/sh
|
2017-12-07 22:52:18 -05:00
|
|
|
|
|
|
|
#This is a build script used for official releases which does not build the UI
|
|
|
|
#Read the makefile and use "make" to build Mesen normally
|
|
|
|
|
2018-01-04 23:09:07 -05:00
|
|
|
if [ "$1" = libretro ]; then
|
|
|
|
MESENPLATFORM=x64 make clean
|
|
|
|
LTO=true MESENPLATFORM=x64 make libretro -j 16
|
2016-12-22 18:44:54 -05:00
|
|
|
|
2018-01-04 23:09:07 -05:00
|
|
|
MESENPLATFORM=x86 make clean
|
|
|
|
LTO=true MESENPLATFORM=x86 make libretro -j 16
|
|
|
|
else
|
2018-06-12 00:49:33 -04:00
|
|
|
MESENPLATFORM=x64 BUILDTARGET=core ./buildPGO.sh
|
|
|
|
MESENPLATFORM=x86 BUILDTARGET=core ./buildPGO.sh
|
|
|
|
cp ./InteropDLL/obj.x64/libMesenCore.x64.dll ./bin/Any\ CPU/PGO\ Profile/Dependencies
|
|
|
|
cp ./InteropDLL/obj.x86/libMesenCore.x86.dll ./bin/Any\ CPU/PGO\ Profile/Dependencies
|
2018-01-04 23:09:07 -05:00
|
|
|
fi
|