mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 11:12:16 +00:00
* getactorstats query for validator-engine-console * celldb in-memory mode (--celldb-in-memory option) * rldp2: bugfix - do not estimate speed while nothing is sent * add simple ed25519 benchmark * fix compilation errors of different platforms and move to c++20 * fix some warnings * turn on TON_USE_ABSEIL for glibc 2.27 nix build --------- Co-authored-by: birydrad <>
66 lines
1.6 KiB
CMake
66 lines
1.6 KiB
CMake
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
|
|
|
|
#SOURCE SETS
|
|
set(TDACTOR_SOURCE
|
|
td/actor/core/ActorExecutor.cpp
|
|
td/actor/core/ActorTypeStat.cpp
|
|
td/actor/core/CpuWorker.cpp
|
|
td/actor/core/IoWorker.cpp
|
|
td/actor/core/Scheduler.cpp
|
|
|
|
td/actor/ActorStats.cpp
|
|
td/actor/MultiPromise.cpp
|
|
|
|
td/actor/actor.h
|
|
td/actor/ActorId.h
|
|
td/actor/ActorOwn.h
|
|
td/actor/ActorShared.h
|
|
td/actor/ActorStats.h
|
|
td/actor/common.h
|
|
td/actor/PromiseFuture.h
|
|
td/actor/MultiPromise.h
|
|
|
|
td/actor/core/Actor.h
|
|
td/actor/core/ActorExecuteContext.h
|
|
td/actor/core/ActorExecutor.h
|
|
td/actor/core/ActorInfo.h
|
|
td/actor/core/ActorInfoCreator.h
|
|
td/actor/core/ActorLocker.h
|
|
td/actor/core/ActorMailbox.h
|
|
td/actor/core/ActorMessage.h
|
|
td/actor/core/ActorSignals.h
|
|
td/actor/core/ActorState.h
|
|
td/actor/core/ActorTypeStat.h
|
|
td/actor/core/CpuWorker.h
|
|
td/actor/core/Context.h
|
|
td/actor/core/IoWorker.h
|
|
td/actor/core/Scheduler.h
|
|
td/actor/core/SchedulerContext.h
|
|
td/actor/core/SchedulerId.h
|
|
td/actor/core/SchedulerMessage.h
|
|
)
|
|
|
|
set(TDACTOR_TEST_SOURCE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test/actors_promise.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test/actors_core.cpp
|
|
PARENT_SCOPE
|
|
)
|
|
|
|
#RULES
|
|
|
|
#LIBRARIES
|
|
|
|
add_library(tdactor STATIC ${TDACTOR_SOURCE})
|
|
target_include_directories(tdactor PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
|
target_link_libraries(tdactor PUBLIC tdutils)
|
|
|
|
# BEGIN-INTERNAL
|
|
add_subdirectory(benchmark)
|
|
|
|
# END-INTERNAL
|
|
install(TARGETS tdactor EXPORT TdTargets
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
RUNTIME DESTINATION bin
|
|
INCLUDES DESTINATION include
|
|
)
|