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

S
slguan 已提交
4 5
IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
S
Shengliang Guan 已提交
6
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/os/inc)
S
slguan 已提交
7 8 9 10 11
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/tsdb/inc)
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/common/inc)
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/dnode/inc)
S
slguan 已提交
12
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/cJson/inc)
S
slguan 已提交
13 14 15 16 17
  INCLUDE_DIRECTORIES(${TD_ENTERPRISE_DIR}/src/inc)
  INCLUDE_DIRECTORIES(inc)
  AUX_SOURCE_DIRECTORY(src SRC)

  ADD_LIBRARY(vnode ${SRC})
J
jtao1735 已提交
18 19
  TARGET_LINK_LIBRARIES(vnode tsdb tcq)
ENDIF ()