Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/CMakeLists.txt
# Copyright (c) 2017-2020 The Bitcoin developers | # Copyright (c) 2017-2020 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-base | add_library(seeder-base | ||||
bitcoin.cpp | bitcoin.cpp | ||||
db.cpp | db.cpp | ||||
dns.cpp | dns.cpp | ||||
) | ) | ||||
target_link_libraries(seeder-base common) | target_link_libraries(seeder-base server) | ||||
add_executable(bitcoin-seeder | add_executable(bitcoin-seeder | ||||
main.cpp | main.cpp | ||||
) | ) | ||||
target_link_libraries(bitcoin-seeder seeder-base) | target_link_libraries(bitcoin-seeder seeder-base) | ||||
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) |