Skip to content

Commit

Permalink
Make bmic_tests a header only library #2406
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed May 1, 2018
1 parent 16670f8 commit 13a6e43
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions tests/bmic_objects/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
file(GLOB HEADERS "bmic_manager_tests.hpp")

find_package( Gperftools QUIET )
if( GPERFTOOLS_FOUND )
message( STATUS "Found gperftools; compiling tests with TCMalloc")
list( APPEND PLATFORM_SPECIFIC_LIBS tcmalloc )
endif()

add_library(bmic_manager_tests
${SOURCES}
${HEADERS})
add_library(bmic_manager_tests INTERFACE )

target_link_libraries(bmic_manager_tests
steem_chain
steem_protocol
account_history_plugin
market_history_plugin
block_api_plugin
database_api_plugin
webserver_plugin
witness_plugin
debug_node_plugin
condenser_api_plugin
fc
${PLATFORM_SPECIFIC_LIBS})
target_include_directories( bmic_manager_tests INTERFACE ./ )

0 comments on commit 13a6e43

Please sign in to comment.