CMakeLists.txt 417 字节
Newer Older
1
CMAKE_MINIMUM_REQUIRED(VERSION 2.8...3.20)
S
slguan 已提交
2
PROJECT(TDengine)
H
more  
hzcheng 已提交
3

S
TD-1057  
Shengliang Guan 已提交
4
INCLUDE_DIRECTORIES(inc)
W
wpan 已提交
5
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
S
TD-1057  
Shengliang Guan 已提交
6
AUX_SOURCE_DIRECTORY(src SRC)
S
TD-1310  
Shengliang Guan 已提交
7
ADD_LIBRARY(tsdb ${SRC})
H
Hongze Cheng 已提交
8
TARGET_LINK_LIBRARIES(tsdb tfs common tutil)
H
hzcheng 已提交
9

10 11 12 13
IF (TD_TSDB_PLUGINS)
  TARGET_LINK_LIBRARIES(tsdb tsdbPlugins)
ENDIF ()

S
TD-1057  
Shengliang Guan 已提交
14
IF (TD_LINUX)
S
slguan 已提交
15
  # Someone has no gtest directory, so comment it
16
  # ADD_SUBDIRECTORY(tests)
S
slguan 已提交
17
ENDIF ()