build: fix IOS, build blockchain_db and rpc, skip wallet_rpc_server
This commit is contained in:
parent
06b0441762
commit
7c1d31b0a1
@ -113,12 +113,10 @@ add_subdirectory(lmdb)
|
|||||||
add_subdirectory(multisig)
|
add_subdirectory(multisig)
|
||||||
add_subdirectory(net)
|
add_subdirectory(net)
|
||||||
add_subdirectory(hardforks)
|
add_subdirectory(hardforks)
|
||||||
if(NOT IOS)
|
add_subdirectory(blockchain_db)
|
||||||
add_subdirectory(blockchain_db)
|
|
||||||
endif()
|
|
||||||
add_subdirectory(mnemonics)
|
add_subdirectory(mnemonics)
|
||||||
|
add_subdirectory(rpc)
|
||||||
if(NOT IOS)
|
if(NOT IOS)
|
||||||
add_subdirectory(rpc)
|
|
||||||
add_subdirectory(serialization)
|
add_subdirectory(serialization)
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(wallet)
|
add_subdirectory(wallet)
|
||||||
|
@ -77,42 +77,43 @@ target_link_libraries(wallet
|
|||||||
PRIVATE
|
PRIVATE
|
||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES})
|
||||||
|
|
||||||
set(wallet_rpc_sources
|
if(NOT IOS)
|
||||||
wallet_rpc_server.cpp)
|
set(wallet_rpc_sources
|
||||||
|
wallet_rpc_server.cpp)
|
||||||
|
|
||||||
set(wallet_rpc_headers)
|
set(wallet_rpc_headers)
|
||||||
|
|
||||||
set(wallet_rpc_private_headers
|
set(wallet_rpc_private_headers
|
||||||
wallet_rpc_server.h)
|
wallet_rpc_server.h)
|
||||||
|
|
||||||
monero_private_headers(wallet_rpc_server
|
monero_private_headers(wallet_rpc_server
|
||||||
${wallet_rpc_private_headers})
|
${wallet_rpc_private_headers})
|
||||||
monero_add_executable(wallet_rpc_server
|
monero_add_executable(wallet_rpc_server
|
||||||
${wallet_rpc_sources}
|
${wallet_rpc_sources}
|
||||||
${wallet_rpc_headers}
|
${wallet_rpc_headers}
|
||||||
${wallet_rpc_private_headers})
|
${wallet_rpc_private_headers})
|
||||||
|
|
||||||
target_link_libraries(wallet_rpc_server
|
|
||||||
PRIVATE
|
|
||||||
wallet
|
|
||||||
rpc_base
|
|
||||||
cryptonote_core
|
|
||||||
cncrypto
|
|
||||||
common
|
|
||||||
version
|
|
||||||
daemonizer
|
|
||||||
${EPEE_READLINE}
|
|
||||||
${Boost_CHRONO_LIBRARY}
|
|
||||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
|
||||||
${Boost_FILESYSTEM_LIBRARY}
|
|
||||||
${Boost_THREAD_LIBRARY}
|
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
|
||||||
${EXTRA_LIBRARIES})
|
|
||||||
set_property(TARGET wallet_rpc_server
|
|
||||||
PROPERTY
|
|
||||||
OUTPUT_NAME "monero-wallet-rpc")
|
|
||||||
install(TARGETS wallet_rpc_server DESTINATION bin)
|
|
||||||
|
|
||||||
|
target_link_libraries(wallet_rpc_server
|
||||||
|
PRIVATE
|
||||||
|
wallet
|
||||||
|
rpc_base
|
||||||
|
cryptonote_core
|
||||||
|
cncrypto
|
||||||
|
common
|
||||||
|
version
|
||||||
|
daemonizer
|
||||||
|
${EPEE_READLINE}
|
||||||
|
${Boost_CHRONO_LIBRARY}
|
||||||
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||||
|
${Boost_FILESYSTEM_LIBRARY}
|
||||||
|
${Boost_THREAD_LIBRARY}
|
||||||
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
${EXTRA_LIBRARIES})
|
||||||
|
set_property(TARGET wallet_rpc_server
|
||||||
|
PROPERTY
|
||||||
|
OUTPUT_NAME "monero-wallet-rpc")
|
||||||
|
install(TARGETS wallet_rpc_server DESTINATION bin)
|
||||||
|
endif()
|
||||||
|
|
||||||
# build and install libwallet_merged only if we building for GUI
|
# build and install libwallet_merged only if we building for GUI
|
||||||
if (BUILD_GUI_DEPS)
|
if (BUILD_GUI_DEPS)
|
||||||
|
Loading…
Reference in New Issue
Block a user