* Build optimizations, simplify dependancy tree * Build optimizations, simplify dependancy tree
21 lines
716 B
CMake
21 lines
716 B
CMake
file(GLOB HEADERS "include/graphene/delayed_node/*.hpp")
|
|
|
|
add_library( graphene_delayed_node
|
|
delayed_node_plugin.cpp
|
|
)
|
|
|
|
target_link_libraries( graphene_delayed_node PRIVATE graphene_plugin graphene_accounts_list graphene_affiliate_stats graphene_bookie graphene_debug_witness graphene_elasticsearch graphene_market_history )
|
|
target_include_directories( graphene_delayed_node
|
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
|
|
|
|
if(MSVC)
|
|
set_source_files_properties( delayed_node_plugin.cpp PROPERTIES COMPILE_FLAGS "/bigobj" )
|
|
endif(MSVC)
|
|
|
|
install( TARGETS
|
|
graphene_delayed_node
|
|
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|