mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-07 18:56:41 +00:00
21 lines
604 B
CMake
21 lines
604 B
CMake
add_executable(clio_benchmark)
|
|
|
|
target_sources(
|
|
clio_benchmark
|
|
PRIVATE # Common
|
|
Main.cpp
|
|
Playground.cpp
|
|
# ExecutionContext
|
|
util/async/ExecutionContextBenchmarks.cpp
|
|
# Logger
|
|
util/log/LoggerBenchmark.cpp
|
|
# WorkQueue
|
|
rpc/WorkQueueBenchmarks.cpp
|
|
)
|
|
|
|
include(deps/gbench)
|
|
|
|
target_include_directories(clio_benchmark PRIVATE .)
|
|
target_link_libraries(clio_benchmark PUBLIC clio_util clio_rpc benchmark::benchmark_main spdlog::spdlog)
|
|
set_target_properties(clio_benchmark PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|