Skip to content

Commit

Permalink
Merge pull request steemit#2407 from steemit/2406-bmic-tests-header-only
Browse files Browse the repository at this point in the history
Make bmic_tests a header only library
  • Loading branch information
Michael Vandeberg authored May 2, 2018
2 parents 16670f8 + 13a6e43 commit c9c1f8d
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 c9c1f8d

Please sign in to comment.