mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 18:06:26 +00:00
WinRT: fixed bug whereby SDL would override an app's default orientation
WinRT apps can set a default, preferred orientation via a .appxmanifest file. SDL was overriding this on app startup, and making the app use all possible orientations (landscape and portrait). Thanks to Eric Wing for the heads up on this!
This commit is contained in:
33
premake/Xcode/build-scripts/build.all.xcode4.i386.command
Executable file
33
premake/Xcode/build-scripts/build.all.xcode4.i386.command
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
testsTotal=0
|
||||
testsPassed=0
|
||||
testsFailed=0
|
||||
testsSkipped=0
|
||||
|
||||
function build() {
|
||||
testsTotal=$(($testsTotal + 1))
|
||||
if [ -d "tests/$1" ]; then
|
||||
"xcodebuild" ARCHS=i386 ONLY_ACTIVE_ARCH=NO -workspace ./SDL.xcworkspace/ -scheme "$1"
|
||||
if [ $? -ne 0 ]; then
|
||||
testsFailed=$(($testsFailed + 1))
|
||||
else
|
||||
testsPassed=$(($testsPassed + 1))
|
||||
fi
|
||||
echo "\033]0;Building: $1\007"
|
||||
else
|
||||
testsSkipped=$(($testsSkipped + 1))
|
||||
fi
|
||||
}
|
||||
|
||||
# change to directory above command file
|
||||
cd `dirname $0`/..
|
||||
|
||||
# build all of the tests
|
||||
for d in ./tests/*; do
|
||||
build `basename $d`
|
||||
done
|
||||
|
||||
echo "Build Summary: Total=$testsTotal Passed=$testsPassed Failed=$testsFailed Skipped=$testsSkipped"
|
||||
|
||||
cd ..
|
Reference in New Issue
Block a user