CMakeLists.txt 493 字节
Newer Older
N
Nathan Hourt 已提交
1 2 3 4
file(GLOB HEADERS "include/eos/producer_plugin/*.hpp")

add_library( producer_plugin
             producer_plugin.cpp
N
Nathan Hourt 已提交
5
             ${HEADERS}
N
Nathan Hourt 已提交
6 7
           )

P
Phil Mesnier 已提交
8
target_link_libraries( producer_plugin net_plugin chain_plugin appbase eos_chain eos_utilities )
N
Nathan Hourt 已提交
9 10 11 12 13 14 15 16 17 18
target_include_directories( producer_plugin
                            PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

install( TARGETS
   producer_plugin

   RUNTIME DESTINATION bin
   LIBRARY DESTINATION lib
   ARCHIVE DESTINATION lib
)