mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 19:22:37 +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]
18 lines
515 B
CMake
18 lines
515 B
CMake
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
|
|
|
|
if (NOT OPENSSL_FOUND)
|
|
find_package(OpenSSL REQUIRED)
|
|
endif()
|
|
|
|
|
|
set(VALIDATOR_ENGINE_SOURCE
|
|
validator-engine.hpp
|
|
validator-engine.cpp
|
|
)
|
|
|
|
add_executable(validator-engine ${VALIDATOR_ENGINE_SOURCE})
|
|
target_link_libraries(validator-engine overlay tdutils tdactor adnl tl_api dht
|
|
rldp catchain validatorsession full-node validator ton_validator validator
|
|
fift-lib memprof git ${JEMALLOC_LIBRARIES})
|
|
|
|
install(TARGETS validator-engine RUNTIME DESTINATION bin)
|