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

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

wafwerar's avatar
wafwerar 已提交
44 45 46 47 48
add_executable(sdbDump sdbDump.c)
target_link_libraries(
    sdbDump
    PUBLIC dnode
    PUBLIC mnode
L
Liu Jicong 已提交
49
    PUBLIC stream
wafwerar's avatar
wafwerar 已提交
50 51 52 53 54 55 56 57 58
    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 已提交
59
)