Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/CMakeLists.txt
# Copyright (c) 2017-2019 The Bitcoin developers | # Copyright (c) 2017-2019 The Bitcoin developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
project(bitcoin-seeder) | project(bitcoin-seeder) | ||||
add_library(seeder-net | add_library(seeder-net | ||||
bitcoin.cpp | bitcoin.cpp | ||||
db.cpp | db.cpp | ||||
dns.cpp | dns.cpp | ||||
) | ) | ||||
target_link_libraries(seeder-net | target_link_libraries(seeder-net | ||||
common | common | ||||
bitcoinconsensus | |||||
) | ) | ||||
add_executable(bitcoin-seeder main.cpp) | add_executable(bitcoin-seeder main.cpp) | ||||
target_link_libraries(bitcoin-seeder seeder-net) | target_link_libraries(bitcoin-seeder common bitcoinconsensus seeder-net) | ||||
include(BinaryTest) | include(BinaryTest) | ||||
add_to_symbols_check(bitcoin-seeder) | add_to_symbols_check(bitcoin-seeder) | ||||
add_to_security_check(bitcoin-seeder) | add_to_security_check(bitcoin-seeder) | ||||
include(InstallationHelper) | include(InstallationHelper) | ||||
install_target(bitcoin-seeder) | install_target(bitcoin-seeder) | ||||
add_subdirectory(test) | add_subdirectory(test) |