CMakeLists.txt 1.3 KB
Newer Older
1 2 3 4 5
add_executable(tmq_demo tmqDemo.c)
add_dependencies(tmq_demo taos)
add_executable(tmq_sim tmqSim.c)
add_executable(create_table createTable.c)
add_executable(tmq_taosx_ci tmq_taosx_ci.c)
6
add_executable(write_raw_block_test write_raw_block_test.c)
7
add_executable(sml_test sml_test.c)
wmmhello's avatar
wmmhello 已提交
8
add_executable(get_db_name_test get_db_name_test.c)
wmmhello's avatar
wmmhello 已提交
9
add_executable(tmq_offset tmqOffset.c)
10
add_executable(tmq_offset_test tmq_offset_test.c)
wmmhello's avatar
wmmhello 已提交
11 12
target_link_libraries(
    tmq_offset
dengyihao's avatar
dengyihao 已提交
13
    PUBLIC taos
wmmhello's avatar
wmmhello 已提交
14 15 16 17
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
18 19
target_link_libraries(
    create_table
dengyihao's avatar
dengyihao 已提交
20
    PUBLIC taos
21 22 23 24 25 26
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
target_link_libraries(
    tmq_demo
dengyihao's avatar
dengyihao 已提交
27
    PUBLIC taos
28 29 30 31 32 33
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
target_link_libraries(
    tmq_sim
dengyihao's avatar
dengyihao 已提交
34
    PUBLIC taos
35 36 37 38 39 40
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
target_link_libraries(
    tmq_taosx_ci
dengyihao's avatar
dengyihao 已提交
41
    PUBLIC taos
42 43 44 45
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
46 47 48 49 50 51 52
target_link_libraries(
    tmq_offset_test
    PUBLIC taos
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
53

54 55
target_link_libraries(
    write_raw_block_test
dengyihao's avatar
dengyihao 已提交
56
    PUBLIC taos
57 58 59 60 61
    PUBLIC util
    PUBLIC common
    PUBLIC os
)

62 63
target_link_libraries(
    sml_test
dengyihao's avatar
dengyihao 已提交
64
    PUBLIC taos
65 66 67 68
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
wmmhello's avatar
wmmhello 已提交
69 70 71

target_link_libraries(
    get_db_name_test
dengyihao's avatar
dengyihao 已提交
72
    PUBLIC taos
wmmhello's avatar
wmmhello 已提交
73 74 75 76
    PUBLIC util
    PUBLIC common
    PUBLIC os
)