mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-15 02:18:39 +08:00
fixed flowbench
This commit is contained in:
parent
1bdbd89839
commit
a2ee14d3fb
@ -1,23 +1,7 @@
|
||||
set(FLOWBENCH_SRCS
|
||||
flowbench.actor.cpp
|
||||
BenchCallback.actor.cpp
|
||||
BenchEncrypt.cpp
|
||||
BenchHash.cpp
|
||||
BenchIterate.cpp
|
||||
BenchIONet2.actor.cpp
|
||||
BenchMem.cpp
|
||||
BenchMetadataCheck.cpp
|
||||
BenchNet2.actor.cpp
|
||||
BenchPopulate.cpp
|
||||
BenchRandom.cpp
|
||||
BenchRef.cpp
|
||||
BenchStream.actor.cpp
|
||||
BenchTimer.cpp
|
||||
BenchVersionVector.cpp
|
||||
GlobalData.h
|
||||
GlobalData.cpp)
|
||||
|
||||
project (flowbench)
|
||||
|
||||
fdb_find_sources(FLOWBENCH_SRCS)
|
||||
|
||||
# include the configurations from benchmark.cmake
|
||||
configure_file(benchmark.cmake googlebenchmark-download/CMakeLists.txt)
|
||||
# executing the configuration step
|
||||
@ -46,6 +30,6 @@ add_subdirectory(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/googlebenchmark-build
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR}/googlebenchmark-src/include)
|
||||
add_flow_target(EXECUTABLE NAME flowbench SRCS ${FLOWBENCH_SRCS})
|
||||
target_include_directories(flowbench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_BINARY_DIR}/include" ${CMAKE_CURRENT_BINARY_DIR}/googlebenchmark-src/include)
|
||||
target_link_libraries(flowbench benchmark pthread flow fdbclient)
|
||||
|
Loading…
x
Reference in New Issue
Block a user