forked from steemit/steem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request steemit#2407 from steemit/2406-bmic-tests-header-only
Make bmic_tests a header only library
- Loading branch information
Showing
1 changed file
with
2 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./ ) |