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

S
TD-1057  
Shengliang Guan 已提交
4
INCLUDE_DIRECTORIES(inc)
S
TD-1310  
Shengliang Guan 已提交
5 6
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/client/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
S
TD-1057  
Shengliang Guan 已提交
7
AUX_SOURCE_DIRECTORY(./src SRC)
S
TD-1310  
Shengliang Guan 已提交
8

S
TD-1057  
Shengliang Guan 已提交
9
IF (TD_LINUX)
S
slguan 已提交
10
  ADD_LIBRARY(monitor ${SRC})
H
Hui Li 已提交
11 12 13 14 15 16
  
  IF (TD_SOMODE_STATIC)
    TARGET_LINK_LIBRARIES(monitor taos_static)
  ELSE ()
    TARGET_LINK_LIBRARIES(monitor taos)
  ENDIF ()
S
slguan 已提交
17
ENDIF ()