CMakeLists.txt 338 字节
Newer Older
L
Liu Jicong 已提交
1 2 3 4 5 6 7
add_executable(walTest "")
target_sources(walTest
    PRIVATE
    "walMetaTest.cpp"
)
target_include_directories(walTest
    PUBLIC
wafwerar's avatar
wafwerar 已提交
8
    "${TD_SOURCE_DIR}/include/libs/wal"
L
Liu Jicong 已提交
9 10 11 12 13 14 15 16 17 18 19 20
    "${CMAKE_CURRENT_SOURCE_DIR}/../inc"
)

target_link_libraries(walTest
    wal
    gtest_main
)
enable_testing()
add_test(
    NAME wal_test
    COMMAND walTest
)