CMakeLists.txt 903 字节
Newer Older
C
Cary Xu 已提交
1
MESSAGE(STATUS "vnode unit test")
L
Liu Jicong 已提交
2

C
Cary Xu 已提交
3 4 5 6 7 8 9 10 11 12 13
# GoogleTest requires at least C++11
SET(CMAKE_CXX_STANDARD 11)
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST)

# add_executable(tqTest "")
# target_sources(tqTest
#     PRIVATE
#     "tqMetaTest.cpp"
# )
# target_include_directories(tqTest
#     PUBLIC
wafwerar's avatar
wafwerar 已提交
14
#     "${TD_SOURCE_DIR}/include/server/vnode/tq"
C
Cary Xu 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27
#     "${CMAKE_CURRENT_SOURCE_DIR}/../inc"
# )

# target_link_libraries(tqTest
#     tq
#     gtest_main
# )
# enable_testing()
# add_test(
#     NAME tq_test
#     COMMAND tqTest
# )

H
Hongze Cheng 已提交
28 29 30 31 32
# ADD_EXECUTABLE(tsdbSmaTest tsdbSmaTest.cpp)
# TARGET_LINK_LIBRARIES(
#         tsdbSmaTest
#         PUBLIC os util common vnode gtest_main
# )
C
Cary Xu 已提交
33

H
Hongze Cheng 已提交
34 35
# TARGET_INCLUDE_DIRECTORIES(
#         tsdbSmaTest
wafwerar's avatar
wafwerar 已提交
36
#         PUBLIC "${TD_SOURCE_DIR}/include/common"
H
Hongze Cheng 已提交
37 38 39
#         PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../src/inc"
#         PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../inc"
# )