1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-12 11:12:16 +00:00
ton/tdactor/benchmark/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

19 lines
537 B
CMake

cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
set(BENCHMARK_SOURCE
benchmark.cpp
third_party/mp-queue.c
third_party/FAAArrayQueue.h
third_party/LCRQueue.h
third_party/LazyIndexArrayQueue.h
third_party/MoodyCamelQueue.h
)
add_executable(benchmark ${BENCHMARK_SOURCE})
target_include_directories(benchmark PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
target_link_libraries(benchmark PRIVATE tdactor)
if (MSVC)
set_property(SOURCE benchmark.cpp APPEND_STRING PROPERTY COMPILE_FLAGS " /wd4457 /wd4316")
endif()