2017-04-04 21:02:19 +00:00
|
|
|
file(GLOB HEADERS "include/graphene/bookie/*.hpp")
|
|
|
|
|
|
|
|
|
|
add_library( graphene_bookie
|
|
|
|
|
bookie_plugin.cpp
|
2017-07-27 23:35:13 +00:00
|
|
|
bookie_api.cpp
|
2017-04-04 21:02:19 +00:00
|
|
|
)
|
|
|
|
|
|
2021-12-01 13:34:55 +00:00
|
|
|
target_link_libraries( graphene_bookie graphene_chain graphene_app )
|
2017-04-04 21:02:19 +00:00
|
|
|
target_include_directories( graphene_bookie
|
|
|
|
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
|
|
|
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
|
set_source_files_properties( bookie_plugin.cpp PROPERTIES COMPILE_FLAGS "/bigobj" )
|
|
|
|
|
endif(MSVC)
|
|
|
|
|
|
|
|
|
|
install( TARGETS
|
|
|
|
|
graphene_bookie
|
|
|
|
|
|
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
|
ARCHIVE DESTINATION lib
|
|
|
|
|
)
|