1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/CI/build.msvc.sh
Alexander "Ace" Olofsson d7494128a2 More script fixes
2015-06-02 23:50:52 +02:00

18 lines
361 B
Bash

#!/bin/bash
case $PLATFORM in
x32|x86|i686|i386|win32|Win32 )
BITS=32 ;;
x64|x86_64|x86-64|win64|Win64 )
BITS=64 ;;
* )
echo "Unknown platform $PLATFORM."
exit 1 ;;
esac
cd $(dirname $0)/../build_$BITS
msbuild OpenMW.sln //t:Build //p:Configuration=$CONFIGURATION //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"