CMakeLists.txt 298 字节
Newer Older
H
more  
hzcheng 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST)

message(STATUS "TSDB: ${SOURCE_LIST}")

add_executable(tsdbTests ${SOURCE_LIST})
target_link_libraries(tsdbTests gtest gtest_main pthread tsdb)

add_test(
    NAME
      unit   
    COMMAND
      ${CMAKE_CURRENT_BINARY_DIR}/tsdbTests
)