Files
plexview/runprebuild.sh
Blake Bourque 0bb2dff347 Initial commit
I wish I could figure out how to have PlexVie be out of the LibOMV tree but its just not working die to a DLL not found exception about libopenjpeg. (Yes the dll is in the bin folder)
This will do for now
2015-06-18 22:15:24 -04:00

33 lines
774 B
Bash
Executable File

#!/bin/bash
mono bin/Prebuild.exe /target nant
mono bin/Prebuild.exe /target monodev
mono bin/Prebuild.exe /target vs2010
if [ x$1 == xnant ]; then
nant -buildfile:OpenMetaverse.build
RES=$?
echo Build Exit Code: $RES
if [ x$2 == xruntests ]; then
nunit-console bin/OpenMetaverse.Tests.dll -exclude=Network -labels -xml=testresults.xml
fi
exit $RES
fi
if [ x$1 == xprimrender ]; then
nant -buildfile:OpenMetaverse.Rendering.GPL.build
exit $?
fi
if [ x$1 == xopenjpeg ]; then
ARCH=`arch`
cd openjpeg-dotnet
if [ $ARCH == x86_64 ]; then
# since we're a 64bit host, compile a 32bit vesion of openjpeg
make ARCH=-i686 ARCHFLAGS=-m32 install
fi
# compile for default detected platform
make install
fi