CMakeLists.txt 540 字节
Newer Older
1
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
S
slguan 已提交
2
PROJECT(TDengine)
S
#1177  
slguan 已提交
3

S
TD-1207  
Shengliang Guan 已提交
4
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/cJson/inc)
S
TD-1057  
Shengliang Guan 已提交
5 6 7
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/tsdb/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/dnode/inc)
B
Bomin Zhang 已提交
8
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/sync/inc)
S
TD-1057  
Shengliang Guan 已提交
9 10 11
INCLUDE_DIRECTORIES(${TD_ENTERPRISE_DIR}/src/inc)
INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(src SRC)
S
slguan 已提交
12

S
TD-1207  
Shengliang Guan 已提交
13
IF (TD_LINUX OR TD_WINDOWS)
S
slguan 已提交
14
  ADD_LIBRARY(vnode ${SRC})
J
jtao1735 已提交
15 16
  TARGET_LINK_LIBRARIES(vnode tsdb tcq)
ENDIF ()