修改目标文件目录

This commit is contained in:
xiongziliang 2017-06-20 14:37:09 +08:00
parent f3b5c8f75b
commit 20344feec0
4 changed files with 8 additions and 8 deletions

View File

@ -7,8 +7,8 @@ cd $path
cd .. cd ..
git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git
cd ZLMediaKit cd ZLMediaKit
mkdir -p build mkdir -p android_build
cd 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 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 make -j4
sudo make install sudo make install

View File

@ -7,8 +7,8 @@ cd $path
cd .. cd ..
git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git
cd ZLMediaKit cd ZLMediaKit
mkdir -p build mkdir -p ios_build
cd build cd ios_build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/iOS.cmake -DIOS_PLATFORM=OS cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/iOS.cmake -DIOS_PLATFORM=OS
make -j4 make -j4
sudo make install sudo make install

View File

@ -13,8 +13,8 @@ cd $path
cd .. cd ..
git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git
cd ZLMediaKit cd ZLMediaKit
mkdir -p build mkdir -p linux_build
cd build cd linux_build
cmake .. cmake ..
make -j4 make -j4
sudo make install sudo make install

View File

@ -12,8 +12,8 @@ cd $path
cd .. cd ..
git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git git clone --depth=50 https://github.com/xiongziliang/ZLMediaKit.git
cd ZLMediaKit cd ZLMediaKit
mkdir -p build mkdir -p mac_build
cd build cd mac_build
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2j/ cmake .. -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2j/
make -j4 make -j4
sudo make install sudo make install