Commit 72e0809d authored by Felix Paul Kühne's avatar Felix Paul Kühne

MVK: add a new option to build non-scary codecs only

parent 4b75b17d
......@@ -13,6 +13,7 @@ VERBOSE=no
CONFIGURATION="Release"
NONETWORK=no
SKIPLIBVLCCOMPILATION=no
SCARY=yes
TESTEDHASH=246889732
......@@ -29,6 +30,7 @@ OPTIONS
-d Enable Debug
-n Skip script steps requiring network interaction
-l Skip libvlc compilation
-w Build a limited stack of non-scary libraries only
EOF
}
......@@ -65,7 +67,7 @@ buildxcodeproj()
IPHONEOS_DEPLOYMENT_TARGET=${SDK_MIN} > ${out}
}
while getopts "hvsfdnlk:" OPTION
while getopts "hvwsfdnlk:" OPTION
do
case $OPTION in
h)
......@@ -87,6 +89,8 @@ do
;;
d) CONFIGURATION="Debug"
;;
w) SCARY="no"
;;
n)
NONETWORK=yes
;;
......@@ -170,6 +174,9 @@ buildMobileKit() {
if [ "$CONFIGURATION" = "Debug" ]; then
args="${args} -d"
fi
if [ "$SCARY" = "no" ]; then
args="${args} -w"
fi
if [ "$PLATFORM" = "iphonesimulator" ]; then
args="${args} -s"
./build.sh -a i386 ${args} -k "${SDK}" && ./build.sh -a x86_64 ${args} -k "${SDK}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment