Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
c36d14df
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c36d14df
编写于
6月 22, 2023
作者:
Y
yihaoDeng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add compile opt
上级
fa214559
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
76 addition
and
78 deletion
+76
-78
source/dnode/vnode/CMakeLists.txt
source/dnode/vnode/CMakeLists.txt
+40
-46
source/libs/stream/CMakeLists.txt
source/libs/stream/CMakeLists.txt
+36
-32
未找到文件。
source/dnode/vnode/CMakeLists.txt
浏览文件 @
c36d14df
...
...
@@ -80,55 +80,50 @@ IF (TD_VNODE_PLUGINS)
)
ENDIF
()
IF
(
NOT
${
TD_LINUX
}
)
target_include_directories
(
vnode
PUBLIC
"inc"
PUBLIC
"src/inc"
PUBLIC
"
${
TD_SOURCE_DIR
}
/include/libs/scalar"
PUBLIC
"
${
TD_SOURCE_DIR
}
/contrib/rocksdb/include"
)
ELSE
()
target_include_directories
(
vnode
PUBLIC
"inc"
PUBLIC
"src/inc"
PUBLIC
"
${
TD_SOURCE_DIR
}
/include/libs/scalar"
)
ENDIF
(
NOT
${
TD_LINUX
}
)
IF
(
TD_LINUX
)
# IF (NOT ${TD_LINUX})
# target_include_directories(
# vnode
# PUBLIC "inc"
# PUBLIC "src/inc"
# PUBLIC "${TD_SOURCE_DIR}/include/libs/scalar"
# PUBLIC "${TD_SOURCE_DIR}/contrib/rocksdb/include"
# )
# ELSE()
# target_include_directories(
# vnode
# PUBLIC "inc"
# PUBLIC "src/inc"
# PUBLIC "${TD_SOURCE_DIR}/include/libs/scalar"
# )
#ENDIF(NOT ${TD_LINUX})
if
(
${
BUILD_CONTRIB
}
)
target_include_directories
(
vnode
PUBLIC
"
${
TD_SOURCE_DIR
}
/deps/
${
TD_DEPS_DIR
}
/rocksdb_static"
vnode
PUBLIC
"inc"
PUBLIC
"src/inc"
PUBLIC
"
${
TD_SOURCE_DIR
}
/include/libs/scalar"
PUBLIC
"
${
TD_SOURCE_DIR
}
/contrib/rocksdb/include"
)
target_link_directories
(
vnode
PUBLIC
"
${
TD_SOURCE_DIR
}
/deps/
${
TD_DEPS_DIR
}
/rocksdb_static"
else
()
target_include_directories
(
vnode
PUBLIC
"inc"
PUBLIC
"src/inc"
PUBLIC
"
${
TD_SOURCE_DIR
}
/include/libs/scalar"
)
target_link_libraries
(
vnode
PUBLIC os
PUBLIC util
PUBLIC common
PUBLIC tfs
PUBLIC wal
PUBLIC qworker
PUBLIC sync
PUBLIC executor
PUBLIC scheduler
PUBLIC tdb
if
(
${
TD_LINUX
}
)
target_include_directories
(
vnode
PUBLIC
"
${
TD_SOURCE_DIR
}
/deps/
${
TD_DEPS_DIR
}
/rocksdb_static"
)
target_link_directories
(
vnode
PUBLIC
"
${
TD_SOURCE_DIR
}
/deps/
${
TD_DEPS_DIR
}
/rocksdb_static"
)
endif
()
endif
()
# PUBLIC bdb
# PUBLIC scalar
PUBLIC rocksdb
PUBLIC transport
PUBLIC stream
PUBLIC index
)
ELSE
()
target_link_libraries
(
vnode
PUBLIC os
...
...
@@ -149,7 +144,6 @@ target_link_libraries(
PUBLIC stream
PUBLIC index
)
ENDIF
()
IF
(
TD_GRANT
)
TARGET_LINK_LIBRARIES
(
vnode PUBLIC grant
)
...
...
source/libs/stream/CMakeLists.txt
浏览文件 @
c36d14df
...
...
@@ -8,39 +8,43 @@ target_include_directories(
if
(
${
BUILD_WITH_ROCKSDB
}
)
IF
(
TD_LINUX
)
if
(
${
BUILD_CONTRIB
}
)
target_link_libraries
(
stream
PUBLIC rocksdb tdb
PRIVATE os util transport qcom executor wal index
)
target_include_directories
(
stream
PUBLIC
"
${
TD_SOURCE_DIR
}
/deps/
${
TD_DEPS_DIR
}
/rocksdb_static"
)
target_link_directories
(
stream
PUBLIC
"
${
TD_SOURCE_DIR
}
/deps/
${
TD_DEPS_DIR
}
/rocksdb_static"
)
target_link_libraries
(
stream
PUBLIC rocksdb tdb
PRIVATE os util transport qcom executor wal index
)
target_link_libraries
(
stream
PUBLIC rocksdb tdb
PRIVATE os util transport qcom executor wal index
)
ELSE
()
target_link_libraries
(
stream
PUBLIC rocksdb tdb
PRIVATE os util transport qcom executor wal index
)
target_include_directories
(
stream
PUBLIC
"
${
TD_SOURCE_DIR
}
/contrib/rocksdb/include"
)
ENDIF
()
stream
PUBLIC
"
${
TD_SOURCE_DIR
}
/contrib/rocksdb/include"
)
else
()
if
(
TD_LINUX
)
target_include_directories
(
stream
PUBLIC
"
${
TD_SOURCE_DIR
}
/deps/
${
TD_DEPS_DIR
}
/rocksdb_static"
)
target_link_directories
(
stream
PUBLIC
"
${
TD_SOURCE_DIR
}
/deps/
${
TD_DEPS_DIR
}
/rocksdb_static"
)
target_link_libraries
(
stream
PUBLIC rocksdb tdb
PRIVATE os util transport qcom executor wal index
)
else
()
target_link_libraries
(
stream
PUBLIC rocksdb tdb
PRIVATE os util transport qcom executor wal index
)
target_include_directories
(
stream
PUBLIC
"
${
TD_SOURCE_DIR
}
/contrib/rocksdb/include"
)
endif
()
endif
()
add_definitions
(
-DUSE_ROCKSDB
)
endif
(
${
BUILD_WITH_ROCKSDB
}
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录