CMakeLists.txt 819 字节
Newer Older
H
Hongze Cheng 已提交
1
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
H
hzcheng 已提交
2 3
PROJECT(TDengine)

L
lihui 已提交
4
IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
S
slguan 已提交
5
  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/client/inc)
S
slguan 已提交
8
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
9
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
S
slguan 已提交
10
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/common/inc)
S
slguan 已提交
11
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/zlib-1.2.11/inc)
S
slguan 已提交
12 13
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/cJson/inc)
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/lz4/inc)
S
slguan 已提交
14
  INCLUDE_DIRECTORIES(inc)
S
slguan 已提交
15 16 17
  AUX_SOURCE_DIRECTORY(src SRC)
  ADD_LIBRARY(http ${SRC})
  TARGET_LINK_LIBRARIES(http taos_static z)
S
slguan 已提交
18

S
slguan 已提交
19 20
  IF (TD_ADMIN)
    TARGET_LINK_LIBRARIES(http admin)
S
slguan 已提交
21
  ENDIF ()
S
slguan 已提交
22
ENDIF ()