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

S
TD-1057  
Shengliang Guan 已提交
4 5 6 7 8 9 10 11 12
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/zlib-1.2.11/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/cJson/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/lz4/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/client/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(src SRC)
  
IF (TD_LINUX)
S
slguan 已提交
13
  ADD_LIBRARY(http ${SRC})
H
Hui Li 已提交
14
  TARGET_LINK_LIBRARIES(http taos z)
S
slguan 已提交
15

S
slguan 已提交
16 17
  IF (TD_ADMIN)
    TARGET_LINK_LIBRARIES(http admin)
S
slguan 已提交
18
  ENDIF ()
S
slguan 已提交
19
ENDIF ()