1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-12 19:22:37 +00:00
ton/common/CMakeLists.txt
SpyCheese 5847897b37
Various changes in TVM, github builds and tests (#793)
* Bugfixes in TVM and node

* Upgrade to C++17

* Improve GitHub builds

* Fix existing tests and partially integrate them into builds

---------

Co-authored-by: neodiX42 <namlem@gmail.com>
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
2023-11-03 14:43:34 +03:00

22 lines
442 B
CMake

cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
set(COMMON_SOURCE
checksum.h
errorcode.h
status.h
io.hpp
errorlog.h
errorlog.cpp
global-version.h)
add_library(common STATIC ${COMMON_SOURCE})
target_include_directories(common PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..
${OPENSSL_INCLUDE_DIR}
)
target_link_libraries(common PRIVATE tdutils ton_crypto )