- create_son, update_son, delete_son, list_sons - get_sons, get_son_by_account, lookup_son_accounts, get_son_count - vote_for_son, update_son_votes - claim_registered_son - get_son in cli_wallet - Updating global_property_object - Decrease SON hardfork time for test purposes - CLI Wallet tests imported from develop branch
35 lines
955 B
CMake
35 lines
955 B
CMake
file(GLOB HEADERS "include/graphene/net/*.hpp")
|
|
|
|
set(SOURCES node.cpp
|
|
stcp_socket.cpp
|
|
core_messages.cpp
|
|
peer_database.cpp
|
|
peer_connection.cpp
|
|
message_oriented_connection.cpp)
|
|
|
|
add_library( graphene_net ${SOURCES} ${HEADERS} )
|
|
|
|
target_link_libraries( graphene_net
|
|
PUBLIC graphene_chain )
|
|
target_include_directories( graphene_net
|
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../chain/include" "${CMAKE_CURRENT_BINARY_DIR}/../chain/include"
|
|
)
|
|
|
|
if(MSVC)
|
|
set_source_files_properties( node.cpp PROPERTIES COMPILE_FLAGS "/bigobj" )
|
|
endif(MSVC)
|
|
|
|
if (USE_PCH)
|
|
set_target_properties(graphene_net PROPERTIES COTIRE_ADD_UNITY_BUILD FALSE)
|
|
cotire(graphene_net)
|
|
endif(USE_PCH)
|
|
|
|
install( TARGETS
|
|
graphene_net
|
|
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|
|
install( FILES ${HEADERS} DESTINATION "include/graphene/net" )
|