mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-13 03:32:22 +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]
10 lines
516 B
CMake
10 lines
516 B
CMake
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
|
|
|
|
add_library(lite-client-common lite-client-common.cpp lite-client-common.h)
|
|
target_link_libraries(lite-client-common PUBLIC tdutils tdactor adnllite tl_api tl_lite_api tl-lite-utils ton_crypto ton_block)
|
|
|
|
add_executable(lite-client lite-client.cpp lite-client.h)
|
|
target_link_libraries(lite-client tdutils tdactor adnllite tl_api tl_lite_api tl-lite-utils ton_crypto ton_block
|
|
terminal lite-client-common git)
|
|
|
|
install(TARGETS lite-client RUNTIME DESTINATION bin)
|