CMakeLists.txt 1.2 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 10 11
add_executable(tmq_offset tmqOffset.c)
target_link_libraries(
    tmq_offset
dengyihao's avatar
dengyihao 已提交
12
    PUBLIC taos
wmmhello's avatar
wmmhello 已提交
13 14 15 16
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
17 18
target_link_libraries(
    create_table
dengyihao's avatar
dengyihao 已提交
19
    PUBLIC taos
20 21 22 23 24 25
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
target_link_libraries(
    tmq_demo
dengyihao's avatar
dengyihao 已提交
26
    PUBLIC taos
27 28 29 30 31 32
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
target_link_libraries(
    tmq_sim
dengyihao's avatar
dengyihao 已提交
33
    PUBLIC taos
34 35 36 37 38 39
    PUBLIC util
    PUBLIC common
    PUBLIC os
)
target_link_libraries(
    tmq_taosx_ci
dengyihao's avatar
dengyihao 已提交
40
    PUBLIC taos
41 42 43 44 45
    PUBLIC util
    PUBLIC common
    PUBLIC os
)

46 47
target_link_libraries(
    write_raw_block_test
dengyihao's avatar
dengyihao 已提交
48
    PUBLIC taos
49 50 51 52 53
    PUBLIC util
    PUBLIC common
    PUBLIC os
)

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

target_link_libraries(
    get_db_name_test
dengyihao's avatar
dengyihao 已提交
64
    PUBLIC taos
wmmhello's avatar
wmmhello 已提交
65 66 67 68
    PUBLIC util
    PUBLIC common
    PUBLIC os
)