-
Notifications
You must be signed in to change notification settings - Fork 794
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make bmic_tests a header only library #2406
- Loading branch information
1 parent
16670f8
commit 13a6e43
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 ./ ) |