Skip to content

Commit

Permalink
copy libraries from installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdreem committed Nov 1, 2019
1 parent fa9c0cf commit 4c2e322
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
#!/bin/bash
ROOT=$(pwd)

MONOGAME=/Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/

cp ${MONOGAME}/Assemblies/DesktopGL/libSDL2-2.0.0.dylib ${ROOT}/Dreetris
cp ${MONOGAME}/Assemblies/DesktopGL/libopenal.1.dylib ${ROOT}/Dreetris
cp ${MONOGAME}/Assemblies/DesktopGL/MonoGame.Framework.dll.config ${ROOT}/Dreetris
cp -r ${MONOGAME}/Assemblies/DesktopGL/x64 ${ROOT}/Dreetris
cp -r ${MONOGAME}/Assemblies/DesktopGL/x86 ${ROOT}/Dreetris

chmod 644 ${ROOT}/Dreetris/libSDL2-2.0.0.dylib
chmod 644 ${ROOT}/Dreetris/libopenal.1.dylib
chmod 644 ${ROOT}/Dreetris/MonoGame.Framework.dll.config
chmod 644 ${ROOT}/Dreetris/x64/*
chmod 644 ${ROOT}/Dreetris/x86/*

msbuild ./Dreetris/Dreetris.csproj /p:Configuration=Release /v:d /t:Build

MGCB_DIR=/Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/Tools
Expand Down

0 comments on commit 4c2e322

Please sign in to comment.