Fork自 taosdata / TDengine
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 )