mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-14 20:22:19 +00:00
* fixing compilation warning: ld: warning: ignoring duplicate libraries: '../crypto/libton_block.a', '../crypto/libton_crypto.a' * update upload-artifact version in TON Static Code Analysis GH action * remove even more redundant linking dependencies * remove even more redundant linking dependencies 2
24 lines
1,017 B
CMake
24 lines
1,017 B
CMake
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
|
|
|
|
if (NOT OPENSSL_FOUND)
|
|
find_package(OpenSSL REQUIRED)
|
|
endif()
|
|
|
|
add_executable(generate-random-id generate-random-id.cpp )
|
|
target_link_libraries(generate-random-id tl_api ton_crypto keys adnl git)
|
|
|
|
target_include_directories(generate-random-id PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..)
|
|
|
|
add_executable(json2tlo json2tlo.cpp )
|
|
target_link_libraries(json2tlo tl_api ton_crypto keys git)
|
|
target_include_directories(json2tlo PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..)
|
|
|
|
add_executable(pack-viewer pack-viewer.cpp )
|
|
target_link_libraries(pack-viewer tl_api ton_crypto keys validator tddb)
|
|
target_include_directories(pack-viewer PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..)
|
|
|
|
add_executable(opcode-timing opcode-timing.cpp )
|
|
target_link_libraries(opcode-timing ton_crypto)
|
|
target_include_directories(pack-viewer PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..)
|
|
|
|
install(TARGETS generate-random-id RUNTIME DESTINATION bin)
|