mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
build_zano.sh
This commit is contained in:
parent
956c469036
commit
91a063ad89
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -o xtrace
|
||||
|
||||
ORIGINAL_DIR=$(pwd)
|
||||
|
||||
. ./config.sh
|
||||
#HAVEN_VERSION=tags/v3.0.7
|
||||
ZANO_SRC_DIR=${WORKDIR}/zano
|
||||
|
@ -65,7 +67,7 @@ case $arch in
|
|||
esac
|
||||
|
||||
cd $ZANO_SRC_DIR
|
||||
rm -rf ./build/release
|
||||
rm -rf ./build/release
|
||||
mkdir -p ./build/release
|
||||
cd ./build/release
|
||||
CC=${CLANG} CXX=${CXXLANG} cmake -S../.. -DCMAKE_INSTALL_PREFIX=./_install -D CAKEWALLET=TRUE -D TESTNET=TRUE -D USE_DEVICE_TREZOR=OFF -D BUILD_GUI_DEPS=1 -D BUILD_TESTS=OFF -D ARCH=${ARCH} -D STATIC=ON -D BUILD_64=${BUILD_64} -D CMAKE_BUILD_TYPE=release -D ANDROID=true -D INSTALL_VENDORED_LIBUNBOUND=ON -D BUILD_TAG=${TAG} -D CMAKE_SYSTEM_NAME="Android" -D CMAKE_ANDROID_STANDALONE_TOOLCHAIN="${ANDROID_STANDALONE_TOOLCHAIN_PATH}" -D CMAKE_ANDROID_ARCH_ABI=${ARCH_ABI} $FLAGS
|
||||
|
@ -91,6 +93,7 @@ fi
|
|||
cp -r ./_install/$ARCH_ABI/lib/* $DEST_LIB_DIR
|
||||
#cp ../../src/wallet/api/wallet2_api.h $DEST_INCLUDE_DIR
|
||||
|
||||
cd "$ORIGINAL_DIR"
|
||||
./copy_zano_libs.sh
|
||||
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue