peerplays_migrated/programs/genesis_util/CMakeLists.txt

35 lines
803 B
CMake
Raw Normal View History

add_executable( genesis_update genesis_update.cpp )
if( UNIX AND NOT APPLE )
set(rt_library rt )
endif()
target_link_libraries( genesis_update
PRIVATE graphene_app graphene_egenesis_none ${PLATFORM_SPECIFIC_LIBS} )
install( TARGETS
genesis_update
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
add_executable( get_dev_key get_dev_key.cpp )
target_link_libraries( get_dev_key
PRIVATE graphene_app ${PLATFORM_SPECIFIC_LIBS} )
install( TARGETS
get_dev_key
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
add_executable( convert_address convert_address.cpp )
target_link_libraries( convert_address
PRIVATE graphene_chain ${PLATFORM_SPECIFIC_LIBS} )