Skip to content

Commit

Permalink
added eosg to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
BimDav committed Dec 21, 2023
1 parent d7c21e9 commit 8f9e358
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
############## MAC ##################

bin/godot.osx.opt.x86_64:
scons production=yes arch=x86_64 platform=osx target=release tools=no -j6 custom_modules=../sg-physics-2d/godot/modules/,../godotsteam
scons production=yes arch=x86_64 platform=osx target=release tools=no -j6 custom_modules=../sg-physics-2d/godot/modules/,../godotsteam,../eosg
install_name_tool -change @rpath/libEOSSDK-Mac-Shipping.dylib @loader_path/libEOSSDK-Mac-Shipping.dylib bin/godot.osx.opt.x86_64

# bin/godot.osx.opt.arm64:
# scons production=yes arch=arm64 platform=osx target=release tools=no -j6 custom_modules=../sg-physics-2d/godot/modules/ custom_modules=../godotsteam

bin/godot.osx.opt.tools.x86_64:
scons production=yes arch=x86_64 platform=osx target=release_debug tools=yes -j6 custom_modules=../sg-physics-2d/godot/modules/,../godotsteam
scons production=yes arch=x86_64 platform=osx target=release_debug tools=yes -j6 custom_modules=../sg-physics-2d/godot/modules/,../godotsteam,../eosg
install_name_tool -change @rpath/libEOSSDK-Mac-Shipping.dylib @loader_path/libEOSSDK-Mac-Shipping.dylib bin/godot.osx.opt.tools.x86_64


# bin/godot.osx.opt.tools.arm64:
# scons production=yes arch=arm64 platform=osx target=release_debug tools=yes -j6 custom_modules=../sg-physics-2d/godot/modules/ custom_modules=../godotsteam
Expand All @@ -23,13 +26,15 @@ mac_editor: bin/godot.osx.opt.tools.x86_64
mkdir -p Godot.app/Contents/MacOS
cp bin/godot.osx.opt.tools.x86_64 Godot.app/Contents/MacOS/Godot
cp ../godotsteam/sdk/redistributable_bin/osx/libsteam_api.dylib Godot.app/Contents/MacOS/
cp ../eosg/thirdparty/eos-sdk/Bin/libEOSSDK-Mac-Shipping.dylib Godot.app/Contents/MacOS/
chmod +x Godot.app/Contents/MacOS/Godot

mac_export: bin/godot.osx.opt.x86_64
cp -r misc/dist/osx_template.app .
mkdir -p osx_template.app/Contents/MacOS
cp bin/godot.osx.opt.x86_64 osx_template.app/Contents/MacOS/godot_osx_release.64
cp ../godotsteam/sdk/redistributable_bin/osx/libsteam_api.dylib osx_template.app/Contents/MacOS/
cp ../eosg/thirdparty/eos-sdk/Bin/libEOSSDK-Mac-Shipping.dylib osx_template.app/Contents/MacOS/
#cp bin/godot.osx.opt.debug.universal osx_template.app/Contents/MacOS/godot_osx_debug.64
chmod +x osx_template.app/Contents/MacOS/godot_osx*
zip -q -9 -r osx.zip osx_template.app
Expand All @@ -50,17 +55,18 @@ mac: mac_editor mac_export
############ WINDOWS #################

bin/godot.windows.opt.64.exe:
scons production=yes platform=windows target=release tools=no -j6 custom_modules=../sg-physics-2d/godot/modules/,../godotsteam use_lto=yes
scons production=yes platform=windows target=release tools=no -j6 custom_modules=../sg-physics-2d/godot/modules/,../godotsteam,../eosg use_lto=yes

bin/godot.windows.opt.tools.64.exe:
scons production=yes platform=windows target=release_debug tools=yes -j6 custom_modules=../sg-physics-2d/godot/modules/,../godotsteam use_lto=yes
scons production=yes platform=windows target=release_debug tools=yes -j6 custom_modules=../sg-physics-2d/godot/modules/,../godotsteam,../eosg use_lto=yes

windows: bin/godot.windows.opt.64.exe bin/godot.windows.opt.tools.64.exe

windows_editor: bin/godot.windows.opt.tools.64.exe
mkdir -p bin/windows_editor
cp bin/godot.windows.opt.tools.64.exe bin/windows_editor/Godot.exe
cp ../godotsteam/sdk/redistributable_bin/win64/steam_api64.dll bin/windows_editor/
cp ../eosg/thirdparty/eos-sdk/Bin/EOSSDK-Win64-Shipping.dll bin/windows_editor/
cd bin && zip -q -9 -r windows_editor.zip windows_editor


Expand Down

0 comments on commit 8f9e358

Please sign in to comment.