Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
af4476dd
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
af4476dd
编写于
6月 21, 2023
作者:
W
wade zhang
提交者:
GitHub
6月 21, 2023
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #21791 from luckeverda/fix/geocmake
fix: undo libgeos's setting of global CMAKE_CXX_STANDARD
上级
6274423d
e81579e3
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
30 addition
and
29 deletion
+30
-29
contrib/CMakeLists.txt
contrib/CMakeLists.txt
+30
-29
未找到文件。
contrib/CMakeLists.txt
浏览文件 @
af4476dd
...
@@ -175,8 +175,8 @@ if(${BUILD_TEST})
...
@@ -175,8 +175,8 @@ if(${BUILD_TEST})
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/cpp-stub/src_darwin>
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/cpp-stub/src_darwin>
)
)
endif
(
${
TD_DARWIN
}
)
endif
(
${
TD_DARWIN
}
)
endif
(
${
BUILD_TEST
}
)
endif
(
${
BUILD_TEST
}
)
# cJson
# cJson
...
@@ -245,7 +245,7 @@ if(${BUILD_WITH_ROCKSDB})
...
@@ -245,7 +245,7 @@ if(${BUILD_WITH_ROCKSDB})
endif
(
${
TD_DARWIN_ARM64
}
)
endif
(
${
TD_DARWIN_ARM64
}
)
if
(
${
TD_WINDOWS
}
)
if
(
${
TD_WINDOWS
}
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/wd4244 /wd4819"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/wd4244 /wd4819"
)
endif
(
${
TD_WINDOWS
}
)
endif
(
${
TD_WINDOWS
}
)
...
@@ -263,8 +263,8 @@ if(${BUILD_WITH_ROCKSDB})
...
@@ -263,8 +263,8 @@ if(${BUILD_WITH_ROCKSDB})
option
(
WITH_MD_LIBRARY
"build with MD"
OFF
)
option
(
WITH_MD_LIBRARY
"build with MD"
OFF
)
set
(
SYSTEM_LIBS
${
SYSTEM_LIBS
}
shlwapi.lib rpcrt4.lib
)
set
(
SYSTEM_LIBS
${
SYSTEM_LIBS
}
shlwapi.lib rpcrt4.lib
)
endif
(
${
TD_WINDOWS
}
)
endif
(
${
TD_WINDOWS
}
)
option
(
WITH_FALLOCATE
""
OFF
)
option
(
WITH_FALLOCATE
""
OFF
)
option
(
WITH_JEMALLOC
""
OFF
)
option
(
WITH_JEMALLOC
""
OFF
)
option
(
WITH_GFLAGS
""
OFF
)
option
(
WITH_GFLAGS
""
OFF
)
...
@@ -276,7 +276,7 @@ if(${BUILD_WITH_ROCKSDB})
...
@@ -276,7 +276,7 @@ if(${BUILD_WITH_ROCKSDB})
option
(
WITH_BENCHMARK_TOOLS
""
OFF
)
option
(
WITH_BENCHMARK_TOOLS
""
OFF
)
option
(
WITH_TOOLS
""
OFF
)
option
(
WITH_TOOLS
""
OFF
)
option
(
WITH_LIBURING
""
OFF
)
option
(
WITH_LIBURING
""
OFF
)
IF
(
TD_LINUX
)
IF
(
TD_LINUX
)
option
(
ROCKSDB_BUILD_SHARED
"Build shared versions of the RocksDB libraries"
OFF
)
option
(
ROCKSDB_BUILD_SHARED
"Build shared versions of the RocksDB libraries"
OFF
)
ELSE
()
ELSE
()
option
(
ROCKSDB_BUILD_SHARED
"Build shared versions of the RocksDB libraries"
OFF
)
option
(
ROCKSDB_BUILD_SHARED
"Build shared versions of the RocksDB libraries"
OFF
)
...
@@ -294,10 +294,10 @@ if(${BUILD_WITH_LUCENE})
...
@@ -294,10 +294,10 @@ if(${BUILD_WITH_LUCENE})
option
(
ENABLE_TEST
"Enable the tests"
OFF
)
option
(
ENABLE_TEST
"Enable the tests"
OFF
)
add_subdirectory
(
lucene EXCLUDE_FROM_ALL
)
add_subdirectory
(
lucene EXCLUDE_FROM_ALL
)
target_include_directories
(
target_include_directories
(
lucene++
lucene++
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/lucene/include>
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/lucene/include>
)
)
endif
(
${
BUILD_WITH_LUCENE
}
)
endif
(
${
BUILD_WITH_LUCENE
}
)
# NuRaft
# NuRaft
...
@@ -357,7 +357,7 @@ if(${BUILD_MSVCREGEX})
...
@@ -357,7 +357,7 @@ if(${BUILD_MSVCREGEX})
target_include_directories
(
msvcregex
target_include_directories
(
msvcregex
PRIVATE
"msvcregex"
PRIVATE
"msvcregex"
)
)
target_link_libraries
(
msvcregex
target_link_libraries
(
msvcregex
INTERFACE Shell32
INTERFACE Shell32
)
)
SET_TARGET_PROPERTIES
(
msvcregex PROPERTIES OUTPUT_NAME msvcregex
)
SET_TARGET_PROPERTIES
(
msvcregex PROPERTIES OUTPUT_NAME msvcregex
)
...
@@ -417,8 +417,8 @@ if(${BUILD_WITH_BDB})
...
@@ -417,8 +417,8 @@ if(${BUILD_WITH_BDB})
IMPORTED_LOCATION
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/bdb/libdb.a"
IMPORTED_LOCATION
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/bdb/libdb.a"
INTERFACE_INCLUDE_DIRECTORIES
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/bdb"
INTERFACE_INCLUDE_DIRECTORIES
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/bdb"
)
)
target_link_libraries
(
bdb
target_link_libraries
(
bdb
INTERFACE pthread
INTERFACE pthread
)
)
endif
(
${
BUILD_WITH_BDB
}
)
endif
(
${
BUILD_WITH_BDB
}
)
...
@@ -430,12 +430,12 @@ if(${BUILD_WITH_SQLITE})
...
@@ -430,12 +430,12 @@ if(${BUILD_WITH_SQLITE})
IMPORTED_LOCATION
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sqlite/.libs/libsqlite3.a"
IMPORTED_LOCATION
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sqlite/.libs/libsqlite3.a"
INTERFACE_INCLUDE_DIRECTORIES
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sqlite"
INTERFACE_INCLUDE_DIRECTORIES
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sqlite"
)
)
target_link_libraries
(
sqlite
target_link_libraries
(
sqlite
INTERFACE m
INTERFACE m
INTERFACE pthread
INTERFACE pthread
)
)
if
(
NOT TD_WINDOWS
)
if
(
NOT TD_WINDOWS
)
target_link_libraries
(
sqlite
target_link_libraries
(
sqlite
INTERFACE dl
INTERFACE dl
)
)
endif
(
NOT TD_WINDOWS
)
endif
(
NOT TD_WINDOWS
)
...
@@ -443,22 +443,22 @@ endif(${BUILD_WITH_SQLITE})
...
@@ -443,22 +443,22 @@ endif(${BUILD_WITH_SQLITE})
# addr2line
# addr2line
if
(
${
BUILD_ADDR2LINE
}
)
if
(
${
BUILD_ADDR2LINE
}
)
if
(
NOT
${
TD_WINDOWS
}
)
if
(
NOT
${
TD_WINDOWS
}
)
check_include_file
(
"sys/types.h"
HAVE_SYS_TYPES_H
)
check_include_file
(
"sys/types.h"
HAVE_SYS_TYPES_H
)
check_include_file
(
"sys/stat.h"
HAVE_SYS_STAT_H
)
check_include_file
(
"sys/stat.h"
HAVE_SYS_STAT_H
)
check_include_file
(
"inttypes.h"
HAVE_INTTYPES_H
)
check_include_file
(
"inttypes.h"
HAVE_INTTYPES_H
)
check_include_file
(
"stddef.h"
HAVE_STDDEF_H
)
check_include_file
(
"stddef.h"
HAVE_STDDEF_H
)
check_include_file
(
"stdlib.h"
HAVE_STDLIB_H
)
check_include_file
(
"stdlib.h"
HAVE_STDLIB_H
)
check_include_file
(
"string.h"
HAVE_STRING_H
)
check_include_file
(
"string.h"
HAVE_STRING_H
)
check_include_file
(
"memory.h"
HAVE_MEMORY_H
)
check_include_file
(
"memory.h"
HAVE_MEMORY_H
)
check_include_file
(
"strings.h"
HAVE_STRINGS_H
)
check_include_file
(
"strings.h"
HAVE_STRINGS_H
)
check_include_file
(
"stdint.h"
HAVE_STDINT_H
)
check_include_file
(
"stdint.h"
HAVE_STDINT_H
)
check_include_file
(
"unistd.h"
HAVE_UNISTD_H
)
check_include_file
(
"unistd.h"
HAVE_UNISTD_H
)
check_include_file
(
"sgidefs.h"
HAVE_SGIDEFS_H
)
check_include_file
(
"sgidefs.h"
HAVE_SGIDEFS_H
)
check_include_file
(
"stdafx.h"
HAVE_STDAFX_H
)
check_include_file
(
"stdafx.h"
HAVE_STDAFX_H
)
check_include_file
(
"elf.h"
HAVE_ELF_H
)
check_include_file
(
"elf.h"
HAVE_ELF_H
)
check_include_file
(
"libelf.h"
HAVE_LIBELF_H
)
check_include_file
(
"libelf.h"
HAVE_LIBELF_H
)
check_include_file
(
"libelf/libelf.h"
HAVE_LIBELF_LIBELF_H
)
check_include_file
(
"libelf/libelf.h"
HAVE_LIBELF_LIBELF_H
)
check_include_file
(
"alloca.h"
HAVE_ALLOCA_H
)
check_include_file
(
"alloca.h"
HAVE_ALLOCA_H
)
check_include_file
(
"elfaccess.h"
HAVE_ELFACCESS_H
)
check_include_file
(
"elfaccess.h"
HAVE_ELFACCESS_H
)
check_include_file
(
"sys/elf_386.h"
HAVE_SYS_ELF_386_H
)
check_include_file
(
"sys/elf_386.h"
HAVE_SYS_ELF_386_H
)
...
@@ -466,7 +466,7 @@ if(${BUILD_ADDR2LINE})
...
@@ -466,7 +466,7 @@ if(${BUILD_ADDR2LINE})
check_include_file
(
"sys/elf_sparc.h"
HAVE_SYS_ELF_SPARC_H
)
check_include_file
(
"sys/elf_sparc.h"
HAVE_SYS_ELF_SPARC_H
)
check_include_file
(
"sys/ia64/elf.h"
HAVE_SYS_IA64_ELF_H
)
check_include_file
(
"sys/ia64/elf.h"
HAVE_SYS_IA64_ELF_H
)
set
(
VERSION 0.3.1
)
set
(
VERSION 0.3.1
)
set
(
PACKAGE_VERSION
"
\"
${
VERSION
}
\"
"
)
set
(
PACKAGE_VERSION
"
\"
${
VERSION
}
\"
"
)
configure_file
(
libdwarf/cmake/config.h.cmake config.h
)
configure_file
(
libdwarf/cmake/config.h.cmake config.h
)
file
(
GLOB_RECURSE LIBDWARF_SOURCES
"libdwarf/src/lib/libdwarf/*.c"
)
file
(
GLOB_RECURSE LIBDWARF_SOURCES
"libdwarf/src/lib/libdwarf/*.c"
)
add_library
(
libdwarf STATIC
${
LIBDWARF_SOURCES
}
)
add_library
(
libdwarf STATIC
${
LIBDWARF_SOURCES
}
)
...
@@ -497,6 +497,7 @@ if(${BUILD_GEOS})
...
@@ -497,6 +497,7 @@ if(${BUILD_GEOS})
endif
(
${
TD_LINUX
}
)
endif
(
${
TD_LINUX
}
)
option
(
BUILD_SHARED_LIBS
"Build GEOS with shared libraries"
OFF
)
option
(
BUILD_SHARED_LIBS
"Build GEOS with shared libraries"
OFF
)
add_subdirectory
(
geos EXCLUDE_FROM_ALL
)
add_subdirectory
(
geos EXCLUDE_FROM_ALL
)
unset
(
CMAKE_CXX_STANDARD CACHE
)
# undo libgeos's setting of global CMAKE_CXX_STANDARD
target_include_directories
(
target_include_directories
(
geos_c
geos_c
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/geos/include>
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/geos/include>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录