mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
| 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
 | |
|   config.cpp
 | |
|   external-message.cpp
 | |
|   fabric.cpp
 | |
|   ihr-message.cpp
 | |
|   liteserver.cpp
 | |
|   message-queue.cpp
 | |
|   out-msg-queue-proof.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
 | |
|   collator-impl.h
 | |
|   collator.h
 | |
|   config.hpp
 | |
|   external-message.hpp
 | |
|   ihr-message.hpp
 | |
|   liteserver.hpp
 | |
|   message-queue.hpp
 | |
|   out-msg-queue-proof.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)
 |