Skip to content

Commit

Permalink
cmake: remove wallet_merged
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Oct 1, 2024
1 parent 5b9a197 commit 16e051c
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions src/wallet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,38 +66,4 @@ target_link_libraries(wallet
PRIVATE
${EXTRA_LIBRARIES})

# build and install libwallet_merged only if we building for GUI
if (BUILD_GUI_DEPS)
set(libs_to_merge
wallet_api
wallet
rpc_base
multisig
cryptonote_core
cryptonote_basic
mnemonics
common
cncrypto
device
hardforks
ringct
ringct_basic
checkpoints
version
net
device_trezor)

foreach(lib ${libs_to_merge})
list(APPEND objlibs $<TARGET_OBJECTS:obj_${lib}>) # matches naming convention in src/CMakeLists.txt
endforeach()
add_library(wallet_merged STATIC ${objlibs})
if(IOS)
set(lib_folder lib-${ARCH})
else()
set(lib_folder lib)
endif()
install(TARGETS wallet_merged
ARCHIVE DESTINATION ${lib_folder})
endif()

add_subdirectory(api)

0 comments on commit 16e051c

Please sign in to comment.