提交 19c3caf4 编写于 作者: H Hongze Cheng

refact

上级 72bdaf10
...@@ -19,15 +19,10 @@ ...@@ -19,15 +19,10 @@
extern "C" { extern "C" {
#endif #endif
#include <stdbool.h>
#include <stdint.h>
#include "tmd5.h"
#include "tutil.h"
unsigned char *base64_decode(const char *value, int inlen, int *outlen); unsigned char *base64_decode(const char *value, int inlen, int *outlen);
char *base64_encode(const unsigned char *value, int vlen); char * base64_encode(const unsigned char *value, int vlen);
char *taosDesEncode(int64_t key, char *src, int len); char * taosDesEncode(int64_t key, char *src, int len);
char *taosDesDecode(int64_t key, char *src, int len); char * taosDesDecode(int64_t key, char *src, int len);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
CMAKE_MINIMUM_REQUIRED(VERSION 2.8...3.20) aux_source_directory(source MNODE_SRC)
PROJECT(TDengine) add_library(mnode ${MNODE_SRC})
target_include_directories(
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc) mnode
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/dnode/inc) PUBLIC "${CMAKE_SOURCE_DIR}/include/mnode"
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include"
INCLUDE_DIRECTORIES(inc) )
AUX_SOURCE_DIRECTORY(src SRC) \ No newline at end of file
ADD_LIBRARY(mnode ${SRC})
CMAKE_MINIMUM_REQUIRED(VERSION 2.8...3.20)
PROJECT(TDengine)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/dnode/inc)
INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(src SRC)
ADD_LIBRARY(mnode ${SRC})
aux_source_directory(source TKV_SRC)
add_library(tkv ${TKV_SRC})
target_include_directories(
tkv
PUBLIC "${CMAKE_SOURCE_DIR}/include/tkv"
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include"
)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册