mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	Usage:
func.exe -V
adnl-pong -V
validator-engine -V
and so on.
Result will be shown in the following format:
Func build information: [ Commit: d8b751d7a5, Date: 2021-02-27 14:34:41 +0200]
		
	
			
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			504 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			504 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
 | |
| 
 | |
| if (NOT OPENSSL_FOUND)
 | |
|   find_package(OpenSSL REQUIRED)
 | |
| endif()
 | |
| 
 | |
| 
 | |
| set(CREATE_HARDFORK_SOURCE
 | |
|   create-hardfork.cpp
 | |
| )
 | |
| 
 | |
| add_executable(create-hardfork ${CREATE_HARDFORK_SOURCE})
 | |
| target_link_libraries(create-hardfork overlay tdutils tdactor adnl tl_api dht
 | |
|   rldp catchain validatorsession full-node validator-hardfork ton_validator
 | |
|   validator-hardfork fift-lib memprof git ${JEMALLOC_LIBRARIES})
 | |
| 
 | |
| install(TARGETS create-hardfork RUNTIME DESTINATION bin)
 |