mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
initial commit
This commit is contained in:
commit
c2da007f40
1610 changed files with 398047 additions and 0 deletions
52
validator/impl/CMakeLists.txt
Normal file
52
validator/impl/CMakeLists.txt
Normal file
|
@ -0,0 +1,52 @@
|
|||
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
|
||||
|
||||
if (NOT OPENSSL_FOUND)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
endif()
|
||||
|
||||
set(TON_VALIDATOR_SOURCE
|
||||
accept-block.cpp
|
||||
block.cpp
|
||||
check-proof.cpp
|
||||
collator.cpp
|
||||
external-message.cpp
|
||||
fabric.cpp
|
||||
ihr-message.cpp
|
||||
liteserver.cpp
|
||||
message-queue.cpp
|
||||
proof.cpp
|
||||
shard.cpp
|
||||
signature-set.cpp
|
||||
top-shard-descr.cpp
|
||||
validate-query.cpp
|
||||
validator-set.cpp
|
||||
|
||||
accept-block.hpp
|
||||
block.hpp
|
||||
check-proof.hpp
|
||||
collate-query-impl.h
|
||||
collator-impl.h
|
||||
collator.h
|
||||
external-message.hpp
|
||||
ihr-message.hpp
|
||||
liteserver.hpp
|
||||
message-queue.hpp
|
||||
proof.hpp
|
||||
shard.hpp
|
||||
signature-set.hpp
|
||||
top-shard-descr.hpp
|
||||
validate-query.hpp
|
||||
validator-set.hpp
|
||||
)
|
||||
|
||||
add_library(ton_validator STATIC ${TON_VALIDATOR_SOURCE})
|
||||
|
||||
target_include_directories(ton_validator PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/../crypto
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(ton_validator PRIVATE tdutils tdactor adnl tl_api tl_lite_api tl-lite-utils dht tdfec
|
||||
overlay catchain validatorsession ton_crypto ton_block)
|
Loading…
Add table
Add a link
Reference in a new issue