CMakeLists.txt 935 字节
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)
4 5
target_link_libraries(
    create_table
wafwerar's avatar
wafwerar 已提交
6
    PUBLIC taos_static
7 8 9 10 11 12
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
target_link_libraries(
    tmq_demo
wafwerar's avatar
wafwerar 已提交
13
    PUBLIC taos_static
14 15 16 17
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
P
plum-lihui 已提交
18 19
target_link_libraries(
    tmq_sim
wafwerar's avatar
wafwerar 已提交
20
    PUBLIC taos_static
P
plum-lihui 已提交
21 22 23 24
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
S
Shengliang Guan 已提交
25

S
Shengliang Guan 已提交
26
if(NOT TD_WINDOWS)
S
Shengliang Guan 已提交
27
    add_executable(sdbDump sdbDump.c)
S
Shengliang Guan 已提交
28 29 30 31 32 33 34 35 36 37 38 39 40 41
    target_link_libraries(
        sdbDump
        PUBLIC dnode
        PUBLIC mnode
        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"
    )
S
Shengliang Guan 已提交
42
ENDIF ()