CMakeLists.txt 340 字节
Newer Older
L
Liu Jicong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
add_executable(tqTest "")
target_sources(tqTest
    PRIVATE
    "tqMetaTest.cpp"
)
target_include_directories(tqTest
    PUBLIC
    "${CMAKE_SOURCE_DIR}/include/server/vnode/tq"
    "${CMAKE_CURRENT_SOURCE_DIR}/../inc"
)

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