mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-24 01:29:41 +00:00
18 lines
617 B
Bash
Executable File
18 lines
617 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#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
|
|
|
|
if [ "$1" = libretro ]; then
|
|
MESENPLATFORM=x64 make clean
|
|
LTO=true MESENPLATFORM=x64 make libretro -j 16
|
|
|
|
MESENPLATFORM=x86 make clean
|
|
LTO=true MESENPLATFORM=x86 make libretro -j 16
|
|
else
|
|
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
|
|
fi
|