CMakeLists.txt 606 字节
Newer Older
S
slguan 已提交
1 2
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TDengine)
H
more  
hzcheng 已提交
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
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
H
hzcheng 已提交
8 9
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/common/inc)
  # INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/vnode/common/inc)
H
more  
hzcheng 已提交
10

S
slguan 已提交
11 12
  INCLUDE_DIRECTORIES(inc)
  AUX_SOURCE_DIRECTORY(src SRC)
H
hzcheng 已提交
13

S
slguan 已提交
14 15 16 17
  ADD_LIBRARY(tsdb ${SRC})
  TARGET_LINK_LIBRARIES(tsdb common tutil)

  # Someone has no gtest directory, so comment it
18
  # ADD_SUBDIRECTORY(tests)
S
slguan 已提交
19
ENDIF ()