ReleaseFS autobuild target improvements. No package by default, better --btype parsing

Arrehn 2011-08-27 23:25:13 -04:00
parent 6d5ef48b0b
commit c802ea2279
2 changed files with 8 additions and 7 deletions

View File

@ -2119,10 +2119,9 @@
<key>options</key>
<array>
<string>--build</string>
<string>--package</string>
<string>--platform darwin</string>
<string>--fmod</string>
<string>--kdu</string>
<string>--platform darwin</string>
<string>--fmod</string>
<string>--kdu</string>
</array>
</map>
<key>configure</key>
@ -2359,7 +2358,6 @@
<array>
<string>--build</string>
<string>--platform linux32</string>
<string>--package</string>
</array>
</map>
<key>configure</key>
@ -2715,7 +2713,6 @@
<array>
<string>--fmod</string>
<string>--kdu</string>
<string>--package</string>
<string>--version</string>
<string>--platform win32</string>
</array>

View File

@ -79,7 +79,10 @@ getArgs()
config) WANTS_CONFIG=$TRUE;;
version) WANTS_VERSION=$TRUE;;
chan) CHANNEL="$OPTARG";;
btype) BTYPE="$OPTARG";;
btype) if [ \( "$OPTARG" == "Release" \) -o \( "$OPTARG" == "RelWithDebInfo" \) -o \( "$OPTARG" == "Debug" \) ] ; then
BTYPE="$OPTARG"
fi
;;
kdu) WANTS_KDU=$TRUE;;
fmod) WANTS_FMOD=$TRUE;;
package) WANTS_PACKAGE=$TRUE;;
@ -91,6 +94,7 @@ getArgs()
-*) showUsage && exit 1;;
*) showUsage && exit 1;;
esac
done
shift $[OPTIND-1]
if [ $OPTIND -le 1 ] ; then