Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/CMakeLists.txt
# Copyright (c) 2017 The Bitcoin developers | # Copyright (c) 2017-2019 The Bitcoin developers | ||||
project(bitcoin-seeder) | project(bitcoin-seeder) | ||||
include_directories(.) | add_library(seeder | ||||
add_executable(bitcoin-seeder | |||||
bitcoin.cpp | bitcoin.cpp | ||||
db.cpp | db.cpp | ||||
dns.cpp | dns.cpp | ||||
deadalnix: Clearly, you have a configuration problem with your text editor. | |||||
main.cpp | |||||
) | ) | ||||
target_link_libraries(bitcoin-seeder common) | target_include_directories(seeder PUBLIC .) | ||||
add_executable(bitcoin-seeder main.cpp) | |||||
deadalnixUnsubmitted Not Done Inline ActionsThis whole thing is very confusing. There is a seeder target and a bitcoin-seeder one. Does that mean the seeder target contain all the logic of the seeder, at the exclusion of bitcoin specific ones? If so why does it have a bitcoin.cpp file in it? Why is that target defined in the middle of the seeder's definition? They do not seem to even link with each other in the current state. Does this even produce a seeder that works at all? deadalnix: This whole thing is very confusing. There is a seeder target and a bitcoin-seeder one. Does… | |||||
target_link_libraries(seeder | |||||
common | |||||
) | |||||
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) |
Clearly, you have a configuration problem with your text editor.