peerplays_migrated/programs/cli_wallet/CMakeLists.txt

26 lines
647 B
CMake
Raw Permalink Normal View History

2015-06-08 15:50:35 +00:00
add_executable( cli_wallet main.cpp )
if( UNIX AND NOT APPLE )
set(rt_library rt )
endif()
2015-06-23 19:18:25 +00:00
find_package( Gperftools QUIET )
if( GPERFTOOLS_FOUND )
message( STATUS "Found gperftools; compiling cli_wallet with TCMalloc")
list( APPEND PLATFORM_SPECIFIC_LIBS tcmalloc )
endif()
2015-06-08 15:50:35 +00:00
target_link_libraries( cli_wallet
PRIVATE graphene_app graphene_egenesis_brief graphene_wallet ${PLATFORM_SPECIFIC_LIBS} )
2015-06-08 15:50:35 +00:00
if(MSVC)
set_source_files_properties( main.cpp PROPERTIES COMPILE_FLAGS "/bigobj" )
2015-06-23 19:18:25 +00:00
endif(MSVC)
install( TARGETS
cli_wallet
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)