mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-05 10:22:41 +08:00
15 lines
334 B
CMake
15 lines
334 B
CMake
include_directories(${CMAKE_SOURCE_DIR}/src)
|
|
include_directories(.)
|
|
enable_testing()
|
|
set(unittest_srcs
|
|
unittest_entry.cpp
|
|
consumer_test.cpp producer_test.cpp)
|
|
|
|
add_executable(test ${unittest_srcs})
|
|
|
|
target_link_libraries(test
|
|
client_cpp
|
|
pulsar
|
|
gtest)
|
|
|
|
install(TARGETS test DESTINATION unittest) |