提交 926934f5 编写于 作者: S Shengliang Guan

static library

上级 dc30a83f
add_executable(simulate_vnode "simulate_vnode.c") add_executable(simulate_vnode "simulate_vnode.c")
target_link_libraries(simulate_vnode PUBLIC craft lz4 uv_a) target_link_libraries(simulate_vnode craft lz4 uv_a)
\ No newline at end of file \ No newline at end of file
aux_source_directory(src TDEV_SRC) aux_source_directory(src TDEV_SRC)
add_executable(tdev ${TDEV_SRC}) add_executable(tdev ${TDEV_SRC})
target_include_directories(tdev PUBLIC inc) target_include_directories(tdev inc)
\ No newline at end of file \ No newline at end of file
...@@ -3,4 +3,4 @@ target_sources(singleNode ...@@ -3,4 +3,4 @@ target_sources(singleNode
PRIVATE PRIVATE
"singleNode.c" "singleNode.c"
) )
target_link_libraries(singleNode PUBLIC traft lz4 uv_a) target_link_libraries(singleNode traft lz4 uv_a)
...@@ -2,11 +2,7 @@ aux_source_directory(src TMQ_DEMO_SRC) ...@@ -2,11 +2,7 @@ aux_source_directory(src TMQ_DEMO_SRC)
add_executable(tmq ${TMQ_DEMO_SRC}) add_executable(tmq ${TMQ_DEMO_SRC})
target_link_libraries( target_link_libraries(
tmq tmq taos
PUBLIC taos
#PUBLIC util
#PUBLIC common
#PUBLIC os
) )
target_include_directories( target_include_directories(
tmq tmq
......
aux_source_directory(src QUERY_SRC) aux_source_directory(src QUERY_SRC)
add_library(qcom ${QUERY_SRC}) add_library(qcom STATIC ${QUERY_SRC})
target_include_directories( target_include_directories(
qcom qcom
PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/qcom" PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/qcom"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册