peerplays_migrated/programs/genesis_util/CMakeLists.txt
serkixenos f532386567
Build optimizations (#403)
* Build optimizations, simplify dependancy tree

* Build optimizations, simplify dependancy tree
2020-11-12 19:38:25 +05:30

34 lines
803 B
CMake

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} )