mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-24 04:29:28 +00:00
23 lines
No EOL
864 B
Bash
Executable file
23 lines
No EOL
864 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. ./config.sh
|
|
|
|
MIN_IOS_VERSION=10.0
|
|
BOOST_URL="https://github.com/cake-tech/Apple-Boost-BuildScript.git"
|
|
BOOST_DIR_PATH="${EXTERNAL_IOS_SOURCE_DIR}/Apple-Boost-BuildScript"
|
|
BOOST_VERSION=1.72.0
|
|
BOOST_LIBS="random regex graph random chrono thread filesystem system date_time locale serialization program_options"
|
|
|
|
echo "============================ Boost ============================"
|
|
|
|
echo "Cloning Apple-Boost-BuildScript from - $BOOST_URL"
|
|
git clone -b build $BOOST_URL $BOOST_DIR_PATH
|
|
cd $BOOST_DIR_PATH
|
|
./boost.sh -ios \
|
|
--min-ios-version ${MIN_IOS_VERSION} \
|
|
--boost-libs "${BOOST_LIBS}" \
|
|
--boost-version ${BOOST_VERSION} \
|
|
--no-framework
|
|
|
|
mv ${BOOST_DIR_PATH}/build/boost/${BOOST_VERSION}/ios/release/prefix/include/* $EXTERNAL_IOS_INCLUDE_DIR
|
|
mv ${BOOST_DIR_PATH}/build/boost/${BOOST_VERSION}/ios/release/prefix/lib/* $EXTERNAL_IOS_LIB_DIR |