CMakeLists.txt 1.1 KB
Newer Older
1
add_executable(tmq_demo tmqDemo.c)
P
plum-lihui 已提交
2
add_executable(tmq_sim tmqSim.c)
S
Shengliang Guan 已提交
3
add_executable(create_table createTable.c)
wmmhello's avatar
wmmhello 已提交
4
add_executable(tmq_taosx_ci tmq_taosx_ci.c)
5
add_executable(sml_test sml_test.c)
6 7
target_link_libraries(
    create_table
wafwerar's avatar
wafwerar 已提交
8
    PUBLIC taos_static
9 10 11 12 13 14
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
target_link_libraries(
    tmq_demo
wafwerar's avatar
wafwerar 已提交
15
    PUBLIC taos_static
16 17 18 19
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
P
plum-lihui 已提交
20 21
target_link_libraries(
    tmq_sim
wafwerar's avatar
wafwerar 已提交
22
    PUBLIC taos_static
P
plum-lihui 已提交
23 24 25 26
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
wmmhello's avatar
wmmhello 已提交
27 28 29 30 31 32 33
target_link_libraries(
    tmq_taosx_ci
    PUBLIC taos_static
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
S
Shengliang Guan 已提交
34

35 36 37 38 39 40 41 42
target_link_libraries(
    sml_test
    PUBLIC taos_static
    PUBLIC util
    PUBLIC common
    PUBLIC os
)

wafwerar's avatar
wafwerar 已提交
43 44 45 46 47
add_executable(sdbDump sdbDump.c)
target_link_libraries(
    sdbDump
    PUBLIC dnode
    PUBLIC mnode
L
Liu Jicong 已提交
48
    PUBLIC stream
wafwerar's avatar
wafwerar 已提交
49 50 51 52 53 54 55 56 57
    PUBLIC sdb
    PUBLIC os
)
target_include_directories(
    sdbDump
    PUBLIC "${TD_SOURCE_DIR}/include/dnode/mnode"
    PRIVATE "${TD_SOURCE_DIR}/source/dnode/mnode/impl/inc"
    PRIVATE "${TD_SOURCE_DIR}/source/dnode/mnode/sdb/inc"
    PRIVATE "${TD_SOURCE_DIR}/source/dnode/mgmt/node_mgmt/inc"
L
Liu Jicong 已提交
58
)