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

S
slguan 已提交
4 5
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/client/inc)
S
slguan 已提交
6
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
7
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
S
slguan 已提交
8 9 10
INCLUDE_DIRECTORIES(${TD_OS_DIR}/inc)
INCLUDE_DIRECTORIES(inc)

L
lihui 已提交
11
IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
S
slguan 已提交
12 13
  AUX_SOURCE_DIRECTORY(. SRC)
  ADD_EXECUTABLE(taosdump ${SRC})
L
lihui 已提交
14 15 16 17 18 19 20 21
  
  IF (TD_PAGMODE_LITE)
    TARGET_LINK_LIBRARIES(taosdump taos)
  ELSE ()
    TARGET_LINK_LIBRARIES(taosdump taos_static)
  ENDIF ()  
  
  
S
slguan 已提交
22
ENDIF ()