|
|
|
@ -41,6 +41,7 @@ file(GLOB_RECURSE SIMPLEWALLET simplewallet/*)
|
|
|
|
|
file(GLOB_RECURSE CONN_TOOL connectivity_tool/*)
|
|
|
|
|
file(GLOB_RECURSE WALLET wallet/*)
|
|
|
|
|
file(GLOB_RECURSE MINER miner/*)
|
|
|
|
|
file(GLOB_RECURSE MNEMONICS mnemonics/*)
|
|
|
|
|
|
|
|
|
|
source_group(common FILES ${COMMON})
|
|
|
|
|
source_group(crypto FILES ${CRYPTO})
|
|
|
|
@ -53,10 +54,12 @@ source_group(simplewallet FILES ${SIMPLEWALLET})
|
|
|
|
|
source_group(connectivity-tool FILES ${CONN_TOOL})
|
|
|
|
|
source_group(wallet FILES ${WALLET})
|
|
|
|
|
source_group(simpleminer FILES ${MINER})
|
|
|
|
|
source_group(mnemonics FILES ${MNEMONICS})
|
|
|
|
|
|
|
|
|
|
add_library(common ${COMMON})
|
|
|
|
|
add_library(crypto ${CRYPTO})
|
|
|
|
|
add_library(cryptonote_core ${CRYPTONOTE_CORE})
|
|
|
|
|
add_library(mnemonics ${MNEMONICS})
|
|
|
|
|
add_executable(daemon ${DAEMON} ${P2P} ${CRYPTONOTE_PROTOCOL})
|
|
|
|
|
add_executable(connectivity_tool ${CONN_TOOL})
|
|
|
|
|
add_executable(simpleminer ${MINER})
|
|
|
|
@ -65,8 +68,9 @@ target_link_libraries(connectivity_tool cryptonote_core crypto common ${CMAKE_TH
|
|
|
|
|
target_link_libraries(simpleminer cryptonote_core crypto common ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
|
|
|
|
|
add_library(rpc ${RPC})
|
|
|
|
|
add_library(wallet ${WALLET})
|
|
|
|
|
target_link_libraries(wallet mnemonics)
|
|
|
|
|
add_executable(simplewallet ${SIMPLEWALLET} )
|
|
|
|
|
target_link_libraries(simplewallet wallet rpc cryptonote_core crypto common ${UPNP_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
|
|
|
|
|
target_link_libraries(simplewallet wallet rpc cryptonote_core crypto common mnemonics ${UPNP_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
|
|
|
|
|
add_dependencies(daemon version)
|
|
|
|
|
add_dependencies(rpc version)
|
|
|
|
|
add_dependencies(simplewallet version)
|
|
|
|
|