mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-12 22:04:54 +00:00
Update CMakeLists.txt for haven android
This commit is contained in:
parent
cf6eeae055
commit
7d7949125d
1 changed files with 8 additions and 19 deletions
|
@ -88,10 +88,6 @@ add_library(cryptonote_basic STATIC IMPORTED)
|
||||||
set_target_properties(cryptonote_basic PROPERTIES IMPORTED_LOCATION
|
set_target_properties(cryptonote_basic PROPERTIES IMPORTED_LOCATION
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libcryptonote_basic.a)
|
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libcryptonote_basic.a)
|
||||||
|
|
||||||
add_library(cryptonote_format_utils_basic STATIC IMPORTED)
|
|
||||||
set_target_properties(cryptonote_format_utils_basic PROPERTIES IMPORTED_LOCATION
|
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libcryptonote_format_utils_basic.a)
|
|
||||||
|
|
||||||
add_library(mnemonics STATIC IMPORTED)
|
add_library(mnemonics STATIC IMPORTED)
|
||||||
set_target_properties(mnemonics PROPERTIES IMPORTED_LOCATION
|
set_target_properties(mnemonics PROPERTIES IMPORTED_LOCATION
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libmnemonics.a)
|
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libmnemonics.a)
|
||||||
|
@ -132,10 +128,6 @@ add_library(epee STATIC IMPORTED)
|
||||||
set_target_properties(epee PROPERTIES IMPORTED_LOCATION
|
set_target_properties(epee PROPERTIES IMPORTED_LOCATION
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libepee.a)
|
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libepee.a)
|
||||||
|
|
||||||
add_library(blocks STATIC IMPORTED)
|
|
||||||
set_target_properties(blocks PROPERTIES IMPORTED_LOCATION
|
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libblocks.a)
|
|
||||||
|
|
||||||
add_library(checkpoints STATIC IMPORTED)
|
add_library(checkpoints STATIC IMPORTED)
|
||||||
set_target_properties(checkpoints PROPERTIES IMPORTED_LOCATION
|
set_target_properties(checkpoints PROPERTIES IMPORTED_LOCATION
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libcheckpoints.a)
|
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libcheckpoints.a)
|
||||||
|
@ -168,6 +160,11 @@ add_library(randomx STATIC IMPORTED)
|
||||||
set_target_properties(randomx PROPERTIES IMPORTED_LOCATION
|
set_target_properties(randomx PROPERTIES IMPORTED_LOCATION
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/librandomx.a)
|
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/librandomx.a)
|
||||||
|
|
||||||
|
add_library(offshore STATIC IMPORTED)
|
||||||
|
set_target_properties(offshore PROPERTIES IMPORTED_LOCATION
|
||||||
|
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/liboffshore.a)
|
||||||
|
|
||||||
|
|
||||||
add_library(rpc_base STATIC IMPORTED)
|
add_library(rpc_base STATIC IMPORTED)
|
||||||
set_target_properties(rpc_base PROPERTIES IMPORTED_LOCATION
|
set_target_properties(rpc_base PROPERTIES IMPORTED_LOCATION
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/librpc_base.a)
|
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/librpc_base.a)
|
||||||
|
@ -176,12 +173,6 @@ add_library(wallet-crypto STATIC IMPORTED)
|
||||||
set_target_properties(wallet-crypto PROPERTIES IMPORTED_LOCATION
|
set_target_properties(wallet-crypto PROPERTIES IMPORTED_LOCATION
|
||||||
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libwallet-crypto.a)
|
${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/lib/haven/libwallet-crypto.a)
|
||||||
|
|
||||||
set(WALLET_CRYPTO "")
|
|
||||||
|
|
||||||
if(${ANDROID_ABI} STREQUAL "x86_64")
|
|
||||||
set(WALLET_CRYPTO "wallet-crypto")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include_directories( ${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/include )
|
include_directories( ${EXTERNAL_LIBS_DIR}/${ANDROID_ABI}/include )
|
||||||
|
|
||||||
target_link_libraries( cw_haven
|
target_link_libraries( cw_haven
|
||||||
|
@ -190,7 +181,6 @@ target_link_libraries( cw_haven
|
||||||
wallet
|
wallet
|
||||||
cryptonote_core
|
cryptonote_core
|
||||||
cryptonote_basic
|
cryptonote_basic
|
||||||
cryptonote_format_utils_basic
|
|
||||||
mnemonics
|
mnemonics
|
||||||
ringct
|
ringct
|
||||||
ringct_basic
|
ringct_basic
|
||||||
|
@ -202,16 +192,15 @@ target_link_libraries( cw_haven
|
||||||
easylogging
|
easylogging
|
||||||
unbound
|
unbound
|
||||||
epee
|
epee
|
||||||
blocks
|
|
||||||
checkpoints
|
checkpoints
|
||||||
device
|
device
|
||||||
device_trezor
|
device_trezor
|
||||||
multisig
|
multisig
|
||||||
version
|
version
|
||||||
randomx
|
randomx
|
||||||
|
offshore
|
||||||
hardforks
|
hardforks
|
||||||
rpc_base
|
rpc_base
|
||||||
${WALLET_CRYPTO}
|
|
||||||
|
|
||||||
boost_chrono
|
boost_chrono
|
||||||
boost_date_time
|
boost_date_time
|
||||||
|
@ -228,4 +217,4 @@ target_link_libraries( cw_haven
|
||||||
|
|
||||||
sodium
|
sodium
|
||||||
|
|
||||||
${log-lib} )
|
${log-lib} )
|
Loading…
Reference in a new issue