From 20344feec0b634f9bfe4f63087806ede6da138b9 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 20 Jun 2017 14:37:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=AE=E6=A0=87=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_for_android.sh | 4 ++-- build_for_ios.sh | 4 ++-- build_for_linux.sh | 4 ++-- build_for_mac.sh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build_for_android.sh b/build_for_android.sh index 8311df2f..7c594a81 100755 --- a/build_for_android.sh +++ b/build_for_android.sh @@ -7,8 +7,8 @@ cd $path cd .. git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git cd ZLMediaKit -mkdir -p build -cd build +mkdir -p android_build +cd android_build cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/android.toolchain.cmake -DANDROID_NDK=$ANDROID_NDK_ROOT -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="armeabi" -DANDROID_NATIVE_API_LEVEL=android-9 make -j4 sudo make install diff --git a/build_for_ios.sh b/build_for_ios.sh index bd631044..787353ad 100755 --- a/build_for_ios.sh +++ b/build_for_ios.sh @@ -7,8 +7,8 @@ cd $path cd .. git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git cd ZLMediaKit -mkdir -p build -cd build +mkdir -p ios_build +cd ios_build cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/iOS.cmake -DIOS_PLATFORM=OS make -j4 sudo make install diff --git a/build_for_linux.sh b/build_for_linux.sh index 2182df2c..c93cf5d2 100755 --- a/build_for_linux.sh +++ b/build_for_linux.sh @@ -13,8 +13,8 @@ cd $path cd .. git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git cd ZLMediaKit -mkdir -p build -cd build +mkdir -p linux_build +cd linux_build cmake .. make -j4 sudo make install diff --git a/build_for_mac.sh b/build_for_mac.sh index d4aa7d02..cc466f81 100755 --- a/build_for_mac.sh +++ b/build_for_mac.sh @@ -12,8 +12,8 @@ cd $path cd .. git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git cd ZLMediaKit -mkdir -p build -cd build +mkdir -p mac_build +cd mac_build cmake .. -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2j/ make -j4 sudo make install